com.xebialabs.deployit.plugin.was.step
Class WasDeployApplicationStep
java.lang.Object
com.xebialabs.deployit.plugin.was.step.WasStepBase
com.xebialabs.deployit.plugin.was.step.WasDeployApplicationStep
- All Implemented Interfaces:
- com.xebialabs.deployit.Step, java.io.Serializable
public class WasDeployApplicationStep
- extends WasStepBase
Deploys an Ear, a War or an EjbJar to a Collection of WasCluster in a WasCell
- See Also:
- Serialized Form
|
Constructor Summary |
WasDeployApplicationStep(WasCell cell,
com.xebialabs.deployit.ci.artifact.Ear ear,
java.util.Collection<WasCluster> clusters,
java.util.Collection<WasManagedApacheHttpdServer> webservers,
java.lang.String virtualHostName,
int startingWeight)
|
WasDeployApplicationStep(WasCell cell,
com.xebialabs.deployit.ci.artifact.EjbJar ejbJar,
java.util.Collection<WasCluster> clusters,
java.util.Collection<WasManagedApacheHttpdServer> webservers,
int startingWeight)
|
WasDeployApplicationStep(WasCell cell,
com.xebialabs.deployit.ci.artifact.War war,
java.util.Collection<WasCluster> clusters,
java.util.Collection<WasManagedApacheHttpdServer> webservers,
java.lang.String virtualHostName,
java.lang.String contextRoot,
int startingWeight)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEPLOY_APPLICATION_SCRIPT_RESOURCE_PATH
protected static final java.lang.String DEPLOY_APPLICATION_SCRIPT_RESOURCE_PATH
- See Also:
- Constant Field Values
application
protected com.xebialabs.deployit.ci.artifact.NamedDeployableArtifact application
extension
protected java.lang.String extension
cell
protected WasCell cell
clusters
protected java.util.Collection<WasCluster> clusters
webservers
protected java.util.Collection<WasManagedApacheHttpdServer> webservers
virtualHostName
protected java.lang.String virtualHostName
contextRoot
protected java.lang.String contextRoot
startingWeight
protected int startingWeight
WasDeployApplicationStep
public WasDeployApplicationStep(WasCell cell,
com.xebialabs.deployit.ci.artifact.Ear ear,
java.util.Collection<WasCluster> clusters,
java.util.Collection<WasManagedApacheHttpdServer> webservers,
java.lang.String virtualHostName,
int startingWeight)
WasDeployApplicationStep
public WasDeployApplicationStep(WasCell cell,
com.xebialabs.deployit.ci.artifact.War war,
java.util.Collection<WasCluster> clusters,
java.util.Collection<WasManagedApacheHttpdServer> webservers,
java.lang.String virtualHostName,
java.lang.String contextRoot,
int startingWeight)
WasDeployApplicationStep
public WasDeployApplicationStep(WasCell cell,
com.xebialabs.deployit.ci.artifact.EjbJar ejbJar,
java.util.Collection<WasCluster> clusters,
java.util.Collection<WasManagedApacheHttpdServer> webservers,
int startingWeight)
init
private void init(WasCell cell,
java.util.Collection<WasCluster> clusters,
java.util.Collection<WasManagedApacheHttpdServer> webservers,
java.lang.String virtualHostName)
validate
private void validate()
initDescription
private void initDescription()
execute
public boolean execute(com.xebialabs.deployit.StepExecutionContext ctx)
uploadApplication
private com.xebialabs.deployit.hostsession.HostFile uploadApplication(com.xebialabs.deployit.hostsession.HostSession rhs)
getApplication
public com.xebialabs.deployit.ci.artifact.NamedDeployableArtifact getApplication()
getExtension
public java.lang.String getExtension()
getCell
public WasCell getCell()
getClusters
public java.util.Collection<WasCluster> getClusters()
getWebservers
public java.util.Collection<WasManagedApacheHttpdServer> getWebservers()
getVirtualHostName
public java.lang.String getVirtualHostName()
getContextRoot
public java.lang.String getContextRoot()
Copyright © 2010. All Rights Reserved.