Class RunClassStepExecutable
- java.lang.Object
-
- lumis.portal.deployment.stepexecutable.AbstractDeploymentStepExecutable
-
- lumis.portal.deployment.stepexecutable.script.AbstractScriptStepExecutable
-
- lumis.portal.deployment.stepexecutable.script.RunClassStepExecutable
-
- All Implemented Interfaces:
java.io.Serializable
,IDeploymentStepExecutable
,IScriptStepExecutable
,IStepExecutable
public class RunClassStepExecutable extends AbstractScriptStepExecutable
Runs a custom class.- Since:
- 7.1.0
- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface lumis.portal.deployment.stepexecutable.script.IScriptStepExecutable
IScriptStepExecutable.ScriptOwnerType
-
-
Constructor Summary
Constructors Constructor Description RunClassStepExecutable(java.util.Map<java.lang.String,java.util.List<EnvironmentType>> environment, java.lang.String message, java.lang.String customClassScript, java.util.Map<java.lang.String,java.lang.String> parameters)
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
executeInternal(IStep step)
Executes the step.IStepExecutable
getCustomClassScript()
Returns the custom class to be executed.java.lang.String
getDescriptionInternal()
Returns the description of this step.protected ILogger
getLogger()
Returns the logger to be used.java.util.Map<java.lang.String,java.lang.String>
getParameters()
Returns the parameters to be passed to the custom class.-
Methods inherited from class lumis.portal.deployment.stepexecutable.script.AbstractScriptStepExecutable
execute, getDeploymentMessageWriters, getEnvironments, getMessageInternal, getOwnerId, getOwnerType, getStepId, setOwnerId, setOwnerType, setStepId, stepIgnored
-
Methods inherited from class lumis.portal.deployment.stepexecutable.AbstractDeploymentStepExecutable
getDescription, getMessage, isMandatory, localize
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface lumis.portal.deployment.stepexecutable.IDeploymentStepExecutable
isMandatory
-
Methods inherited from interface lumis.portal.interactiveprocess.IStepExecutable
getDescription, getMessage
-
-
-
-
Constructor Detail
-
RunClassStepExecutable
public RunClassStepExecutable(java.util.Map<java.lang.String,java.util.List<EnvironmentType>> environment, java.lang.String message, java.lang.String customClassScript, java.util.Map<java.lang.String,java.lang.String> parameters) throws PortalException
Creates a new instance.- Parameters:
environment
- the environment configuration.message
- the message to be displayed.customClassScript
- the custom class.parameters
- the parameters to be passed to the custom class.- Throws:
PortalException
- Since:
- 7.1.0
-
-
Method Detail
-
executeInternal
public void executeInternal(IStep step) throws java.lang.Throwable
Description copied from class:AbstractDeploymentStepExecutable
Executes the step.- Specified by:
executeInternal
in classAbstractDeploymentStepExecutable
- Parameters:
step
- the step.- Throws:
java.lang.Throwable
-
getDescriptionInternal
public java.lang.String getDescriptionInternal() throws PortalException
Description copied from class:AbstractDeploymentStepExecutable
Returns the description of this step.- Specified by:
getDescriptionInternal
in classAbstractDeploymentStepExecutable
- Returns:
- the description of this step.
- Throws:
PortalException
-
getCustomClassScript
public IStepExecutable getCustomClassScript() throws java.lang.Throwable
Returns the custom class to be executed.- Returns:
- the custom class to be executed.
- Throws:
java.lang.Throwable
- Since:
- 7.1.0
-
getParameters
public java.util.Map<java.lang.String,java.lang.String> getParameters()
Returns the parameters to be passed to the custom class.- Returns:
- Since:
- 7.1.0
-
getLogger
protected ILogger getLogger()
Description copied from class:AbstractDeploymentStepExecutable
Returns the logger to be used.- Specified by:
getLogger
in classAbstractDeploymentStepExecutable
- Returns:
- the logger to be used.
-
-