com.xebialabs.deployit.plugin.wls.step
Class SimpleWlstExecutingStep

java.lang.Object
  extended by com.xebialabs.deployit.plugin.wls.step.WlsStepBase
      extended by com.xebialabs.deployit.plugin.wls.step.SimpleWlstExecutingStep
All Implemented Interfaces:
com.xebialabs.deployit.Step, java.io.Serializable
Direct Known Subclasses:
ActivatePendingChangesStep, CreateWlsDataSourceStep, CreateWlsForeignJmsConnectionFactoryStep, CreateWlsForeignJmsDestinationStep, CreateWlsForeignJmsServerStep, CreateWlsJmsConnectionFactoryStep, CreateWlsJmsModuleStep, CreateWlsJmsQueueStep, CreateWlsJmsServerStep, CreateWlsMaximumThreadConstraintStep, CreateWlsServerStep, CreateWlsSubdeploymentStep, CreateWlsWorkManagerStep, DestroyWlsDataSourceStep, DestroyWlsForeignJmsConnectionFactoryStep, DestroyWlsForeignJmsDestinationStep, DestroyWlsForeignJmsServerStep, DestroyWlsJmsConnectionFactoryStep, DestroyWlsJmsModuleStep, DestroyWlsJmsQueueStep, DestroyWlsJmsServerStep, DestroyWlsMaximumThreadsContraintStep, DestroyWlsServerStep, DestroyWlsSubdeploymentStep, DestroyWlsWorkManagerStep, ModifyWlsJmsQueueStep, ModifyWlsServerStep, RestartServersThatRequireRestartStep, StartApplicationStep, StartWlsServerStep, StopApplicationStep, StopWlsServerStep, WlsActivationStateVerificationStep, WlsUndeployArtifactStep

public class SimpleWlstExecutingStep
extends WlsStepBase

Generic Step used to execute WLST commands on a WlsDomain.

See Also:
Serialized Form

Field Summary
protected  java.lang.String[] scriptArgs
          Arguments passed to Jython script.
protected  java.lang.String scriptResourcePath
          The path of Jython script containing WLST commands.
 
Fields inherited from class com.xebialabs.deployit.plugin.wls.step.WlsStepBase
description, domain, STEP_RESOURCES_PATH
 
Constructor Summary
SimpleWlstExecutingStep(java.lang.String description, WlsDomain domain, java.lang.String scriptResourcePath, java.lang.String... scriptArgs)
          Creates a SimpleWlstExecutionStep with the specified parameters.
 
Method Summary
 boolean execute(com.xebialabs.deployit.StepExecutionContext ctx)
           
 
Methods inherited from class com.xebialabs.deployit.plugin.wls.step.WlsStepBase
executeWlstJythonScriptResource, executeWlstJythonScriptResource, getDescription, setDescription
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

scriptResourcePath

protected java.lang.String scriptResourcePath
The path of Jython script containing WLST commands.


scriptArgs

protected java.lang.String[] scriptArgs
Arguments passed to Jython script.

Constructor Detail

SimpleWlstExecutingStep

public SimpleWlstExecutingStep(java.lang.String description,
                               WlsDomain domain,
                               java.lang.String scriptResourcePath,
                               java.lang.String... scriptArgs)
Creates a SimpleWlstExecutionStep with the specified parameters.

Parameters:
description - the description of the step
domain - the domain on which to run this step
scriptResourcePath - the resource path of the WLST script to execute
theNewNumber - TODO
scriptArgs - the parameters for the script. Automatically the username, password and the connect URL for the
Method Detail

execute

public boolean execute(com.xebialabs.deployit.StepExecutionContext ctx)


Copyright © 2010. All Rights Reserved.