public class RunClassStepExecutable extends AbstractScriptStepExecutable
IScriptStepExecutable.ScriptOwnerType
Constructor and Description |
---|
RunClassStepExecutable(Map<String,List<EnvironmentType>> environment,
String message,
String customClassScript,
Map<String,String> parameters)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
executeInternal(IStep step)
Executes the step.
|
IStepExecutable |
getCustomClassScript()
Returns the custom class to be executed.
|
String |
getDescriptionInternal()
Returns the description of this step.
|
protected ILogger |
getLogger()
Returns the logger to be used.
|
Map<String,String> |
getParameters()
Returns the parameters to be passed to the custom class.
|
execute, getDeploymentMessageWriters, getEnvironments, getMessageInternal, getOwnerId, getOwnerType, getStepId, setOwnerId, setOwnerType, setStepId, stepIgnored
getDescription, getMessage, isMandatory, localize
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isMandatory
getDescription, getMessage
public RunClassStepExecutable(Map<String,List<EnvironmentType>> environment, String message, String customClassScript, Map<String,String> parameters) throws PortalException
environment
- the environment configuration.message
- the message to be displayed.customClassScript
- the custom class.parameters
- the parameters to be passed to the custom class.PortalException
public void executeInternal(IStep step) throws Throwable
AbstractDeploymentStepExecutable
executeInternal
in class AbstractDeploymentStepExecutable
step
- the step.Throwable
public String getDescriptionInternal() throws PortalException
AbstractDeploymentStepExecutable
getDescriptionInternal
in class AbstractDeploymentStepExecutable
PortalException
public IStepExecutable getCustomClassScript() throws Throwable
Throwable
public Map<String,String> getParameters()
protected ILogger getLogger()
AbstractDeploymentStepExecutable
getLogger
in class AbstractDeploymentStepExecutable
LumisXP 12.0.0.190809 - Copyright © 2006–2019 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.