com.xebialabs.deployit.plugin.was.step
Class WasDeployApplicationStep

java.lang.Object
  extended by com.xebialabs.deployit.plugin.was.step.WasStepBase
      extended by 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

Field Summary
protected  com.xebialabs.deployit.ci.artifact.NamedDeployableArtifact application
           
protected  WasCell cell
           
protected  java.util.Collection<WasCluster> clusters
           
protected  java.lang.String contextRoot
           
protected static java.lang.String DEPLOY_APPLICATION_SCRIPT_RESOURCE_PATH
           
protected  java.lang.String extension
           
protected  int startingWeight
           
protected  java.lang.String virtualHostName
           
protected  java.util.Collection<WasManagedApacheHttpdServer> webservers
           
 
Fields inherited from class com.xebialabs.deployit.plugin.was.step.WasStepBase
description, STEP_RESOURCES_PATH
 
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)
           
 
Method Summary
 boolean execute(com.xebialabs.deployit.StepExecutionContext ctx)
           
 com.xebialabs.deployit.ci.artifact.NamedDeployableArtifact getApplication()
           
 WasCell getCell()
           
 java.util.Collection<WasCluster> getClusters()
           
 java.lang.String getContextRoot()
           
 java.lang.String getExtension()
           
 java.lang.String getVirtualHostName()
           
 java.util.Collection<WasManagedApacheHttpdServer> getWebservers()
           
private  void init(WasCell cell, java.util.Collection<WasCluster> clusters, java.util.Collection<WasManagedApacheHttpdServer> webservers, java.lang.String virtualHostName)
           
private  void initDescription()
           
private  com.xebialabs.deployit.hostsession.HostFile uploadApplication(com.xebialabs.deployit.hostsession.HostSession rhs)
           
private  void validate()
           
 
Methods inherited from class com.xebialabs.deployit.plugin.was.step.WasStepBase
executeWsadminJythonScriptResource, executeWsadminJythonScriptResource, executeWsadminJythonScriptResource, getDescription, setDescription
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

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)
Method Detail

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.