com.xebialabs.deployit.ci
Class DeployitCliTemplate

java.lang.Object
  extended by com.xebialabs.deployit.ci.DeployitCliTemplate

public class DeployitCliTemplate
extends java.lang.Object

Manage the Classloader when using the resteasy stack, else ClassNotFoundException.


Constructor Summary
DeployitCliTemplate(java.lang.String deployitServerUrl, Credential credential)
           
DeployitCliTemplate(java.lang.String deployitServerUrl, java.lang.String username, hudson.util.Secret password)
           
 
Method Summary
 Credential getCredential()
           
 java.lang.String getDeployitServerUrl()
           
 com.xebialabs.deployit.client.Descriptors getDescriptors()
           
<T> T
perform(DeployitCliCallback<T> callback)
           
 void setCredential(Credential credential)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeployitCliTemplate

public DeployitCliTemplate(java.lang.String deployitServerUrl,
                           Credential credential)

DeployitCliTemplate

public DeployitCliTemplate(java.lang.String deployitServerUrl,
                           java.lang.String username,
                           hudson.util.Secret password)
Method Detail

perform

public <T> T perform(DeployitCliCallback<T> callback)

setCredential

public void setCredential(Credential credential)

getDeployitServerUrl

public java.lang.String getDeployitServerUrl()

getCredential

public Credential getCredential()

getDescriptors

public com.xebialabs.deployit.client.Descriptors getDescriptors()