com.xebialabs.deployit.plugin.was.step
Class WasDeployApplicationOnServersStep
java.lang.Object
com.xebialabs.deployit.plugin.was.step.WasStepBase
com.xebialabs.deployit.plugin.was.step.WasDeployApplicationOnServersStep
- All Implemented Interfaces:
- com.xebialabs.deployit.Step, java.io.Serializable
public class WasDeployApplicationOnServersStep
- extends WasStepBase
Deploys an Ear, a War or an EjbJar to a Collection of WasCluster in a WasCell
- See Also:
- Serialized Form
|
Constructor Summary |
WasDeployApplicationOnServersStep(WasCell cell,
com.xebialabs.deployit.ci.artifact.Ear ear,
java.util.Collection<WasServer> servers,
java.util.Collection<WasManagedApacheHttpdServer> webservers,
java.lang.String virtualHostName,
int startingWeight)
|
WasDeployApplicationOnServersStep(WasCell cell,
com.xebialabs.deployit.ci.artifact.EjbJar ejbJar,
java.util.Collection<WasServer> servers,
java.util.Collection<WasManagedApacheHttpdServer> webservers,
int startingWeight)
|
WasDeployApplicationOnServersStep(WasCell cell,
com.xebialabs.deployit.ci.artifact.War war,
java.util.Collection<WasServer> servers,
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
servers
protected java.util.Collection<WasServer> servers
webservers
protected java.util.Collection<WasManagedApacheHttpdServer> webservers
virtualHostName
protected java.lang.String virtualHostName
contextRoot
protected java.lang.String contextRoot
startingWeight
protected int startingWeight
WasDeployApplicationOnServersStep
public WasDeployApplicationOnServersStep(WasCell cell,
com.xebialabs.deployit.ci.artifact.Ear ear,
java.util.Collection<WasServer> servers,
java.util.Collection<WasManagedApacheHttpdServer> webservers,
java.lang.String virtualHostName,
int startingWeight)
WasDeployApplicationOnServersStep
public WasDeployApplicationOnServersStep(WasCell cell,
com.xebialabs.deployit.ci.artifact.War war,
java.util.Collection<WasServer> servers,
java.util.Collection<WasManagedApacheHttpdServer> webservers,
java.lang.String virtualHostName,
java.lang.String contextRoot,
int startingWeight)
WasDeployApplicationOnServersStep
public WasDeployApplicationOnServersStep(WasCell cell,
com.xebialabs.deployit.ci.artifact.EjbJar ejbJar,
java.util.Collection<WasServer> servers,
java.util.Collection<WasManagedApacheHttpdServer> webservers,
int startingWeight)
init
private void init(WasCell cell,
java.util.Collection<WasServer> servers,
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()
getWebservers
public java.util.Collection<WasManagedApacheHttpdServer> getWebservers()
getVirtualHostName
public java.lang.String getVirtualHostName()
getContextRoot
public java.lang.String getContextRoot()
Copyright © 2010. All Rights Reserved.