public abstract class AbstractDeploymentStepExecutable extends Object implements IDeploymentStepExecutable
Constructor and Description |
---|
AbstractDeploymentStepExecutable() |
Modifier and Type | Method and Description |
---|---|
void |
execute(IStep step)
Executes the step code.
|
protected abstract void |
executeInternal(IStep step)
Executes the step.
|
protected abstract DeploymentMessageWriter[] |
getDeploymentMessageWriters()
Returns the deployment message writer to be used.
|
String |
getDescription()
Returns the description of the step.
|
protected abstract String |
getDescriptionInternal()
Returns the description of this step.
|
protected abstract ILogger |
getLogger()
Returns the logger to be used.
|
String |
getMessage()
Returns the message of the step.
|
protected abstract String |
getMessageInternal()
Returns the message.
|
boolean |
isMandatory()
Indicates whether the step is mandatory.
|
String |
localize(String localizableString,
String... parameters)
Localize a string with the given parameters.
|
void |
stepIgnored(IStep step)
Callback invoked when the step is ignored.
|
public String localize(String localizableString, String... parameters) throws PortalException
localizableString
- the localizable string.parameters
- the localization parameters.PortalException
public void execute(IStep step) throws Throwable
IStepExecutable
execute
in interface IStepExecutable
step
- the step owner of the executable.Throwable
public String getDescription()
IStepExecutable
getDescription
in interface IStepExecutable
public String getMessage()
IStepExecutable
getMessage
in interface IStepExecutable
public void stepIgnored(IStep step) throws Throwable
IStepExecutable
stepIgnored
in interface IStepExecutable
step
- the ignored step.Throwable
public boolean isMandatory()
IDeploymentStepExecutable
isMandatory
in interface IDeploymentStepExecutable
protected abstract String getMessageInternal() throws Throwable
Throwable
protected abstract void executeInternal(IStep step) throws Throwable
step
- the step.Throwable
protected abstract ILogger getLogger()
protected abstract DeploymentMessageWriter[] getDeploymentMessageWriters()
LumisXP 12.4.0.200625 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.