jfullam.vfabric.jenkins.plugin.rest
Class ConnectionValidationRestService

java.lang.Object
  extended by jfullam.vfabric.jenkins.plugin.rest.ConnectionValidationRestService
All Implemented Interfaces:
ConnectionValidationService

public class ConnectionValidationRestService
extends Object
implements ConnectionValidationService

Uses a REST provider to validate connection information to Application Director

Author:
Jonathan Fullam

Constructor Summary
ConnectionValidationRestService()
           
 
Method Summary
 boolean connectionValid()
           
 void setRestProvider(RestProvider restProvider)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionValidationRestService

public ConnectionValidationRestService()
Method Detail

setRestProvider

public void setRestProvider(RestProvider restProvider)
Specified by:
setRestProvider in interface ConnectionValidationService

connectionValid

public boolean connectionValid()
                        throws ServiceException
Specified by:
connectionValid in interface ConnectionValidationService
Returns:
boolean - whether the connection information is valid for the set RestProvider.
Throws:
ServiceException


Copyright © 2004-2012. All Rights Reserved.