public abstract class AbstractScriptStepExecutable extends AbstractDeploymentStepExecutable implements IScriptStepExecutable
IScriptStepExecutable
.IScriptStepExecutable.ScriptOwnerType
Constructor and Description |
---|
AbstractScriptStepExecutable(Map<String,List<EnvironmentType>> environment,
String message)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
execute(IStep step)
Executes the step code.
|
protected DeploymentMessageWriter[] |
getDeploymentMessageWriters()
Returns the deployment message writer to be used.
|
Map<String,List<EnvironmentType>> |
getEnvironments()
Returns the environments.
|
protected String |
getMessageInternal()
Returns the message.
|
String |
getOwnerId()
Returns this step's owner identifier.
|
IScriptStepExecutable.ScriptOwnerType |
getOwnerType()
Returns this step's owner type.
|
String |
getStepId()
Returns this step identifier.
|
void |
setOwnerId(String ownerId)
Sets this step's owner identifier.
|
void |
setOwnerType(IScriptStepExecutable.ScriptOwnerType ownerType)
Sets this step's owner type.
|
void |
setStepId(String stepId)
Sets this step identifier.
|
void |
stepIgnored(IStep step)
Callback invoked when the step is ignored.
|
executeInternal, getDescription, getDescriptionInternal, getLogger, getMessage, isMandatory, localize
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isMandatory
getDescription, getMessage
public AbstractScriptStepExecutable(Map<String,List<EnvironmentType>> environment, String message)
environment
- the environment configuration.message
- the message to be displayed.public Map<String,List<EnvironmentType>> getEnvironments()
IScriptStepExecutable
getEnvironments
in interface IScriptStepExecutable
protected String getMessageInternal() throws Throwable
AbstractDeploymentStepExecutable
getMessageInternal
in class AbstractDeploymentStepExecutable
Throwable
public void execute(IStep step) throws Throwable
IStepExecutable
execute
in interface IStepExecutable
execute
in class AbstractDeploymentStepExecutable
step
- the step owner of the executable.Throwable
public void stepIgnored(IStep step) throws Throwable
IStepExecutable
stepIgnored
in interface IStepExecutable
stepIgnored
in class AbstractDeploymentStepExecutable
step
- the ignored step.Throwable
public String getOwnerId()
IScriptStepExecutable
getOwnerId
in interface IScriptStepExecutable
public void setOwnerId(String ownerId)
IScriptStepExecutable
setOwnerId
in interface IScriptStepExecutable
ownerId
- this step's owner identifier.public IScriptStepExecutable.ScriptOwnerType getOwnerType()
IScriptStepExecutable
getOwnerType
in interface IScriptStepExecutable
public void setOwnerType(IScriptStepExecutable.ScriptOwnerType ownerType)
IScriptStepExecutable
setOwnerType
in interface IScriptStepExecutable
ownerType
- this step's owner type.public String getStepId()
IScriptStepExecutable
getStepId
in interface IScriptStepExecutable
public void setStepId(String stepId)
IScriptStepExecutable
setStepId
in interface IScriptStepExecutable
stepId
- this step identifier.protected DeploymentMessageWriter[] getDeploymentMessageWriters()
AbstractDeploymentStepExecutable
getDeploymentMessageWriters
in class AbstractDeploymentStepExecutable
LumisXP 12.4.0.200625 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.