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

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

Field Summary
protected  com.xebialabs.deployit.ci.artifact.NamedDeployableArtifact application
           
protected  WasCell cell
           
protected  java.lang.String contextRoot
           
protected static java.lang.String DEPLOY_APPLICATION_SCRIPT_RESOURCE_PATH
           
protected  java.lang.String extension
           
protected  java.util.Collection<WasServer> servers
           
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
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)
           
 
Method Summary
 boolean execute(com.xebialabs.deployit.StepExecutionContext ctx)
           
 com.xebialabs.deployit.ci.artifact.NamedDeployableArtifact getApplication()
           
 WasCell getCell()
           
 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<WasServer> servers, 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

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

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

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.