Class UpgradeComponentStepExecutable
- java.lang.Object
-
- lumis.portal.deployment.stepexecutable.AbstractDeploymentStepExecutable
-
- lumis.portal.deployment.stepexecutable.component.UpgradeComponentStepExecutable
-
- All Implemented Interfaces:
java.io.Serializable
,IDeploymentStepExecutable
,IStepExecutable
public class UpgradeComponentStepExecutable extends AbstractDeploymentStepExecutable
Upgrade component step executable.- Since:
- 7.1.0
- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UpgradeComponentStepExecutable(IComponent component)
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
executeInternal(IStep step)
Executes the step.IComponent
getComponent()
Returns the component.protected DeploymentMessageWriter[]
getDeploymentMessageWriters()
Returns the deployment message writer to be used.protected java.lang.String
getDescriptionInternal()
Returns the description of this step.protected ILogger
getLogger()
Returns the logger to be used.protected java.lang.String
getMessageInternal()
Returns the message.boolean
isMandatory()
Indicates whether the step is mandatory.-
Methods inherited from class lumis.portal.deployment.stepexecutable.AbstractDeploymentStepExecutable
execute, getDescription, getMessage, localize, stepIgnored
-
-
-
-
Constructor Detail
-
UpgradeComponentStepExecutable
public UpgradeComponentStepExecutable(IComponent component)
Creates a new instance.- Parameters:
component
- the component.- Since:
- 7.1.0
-
-
Method Detail
-
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.
-
getDescriptionInternal
protected java.lang.String getDescriptionInternal() throws java.lang.Throwable
Description copied from class:AbstractDeploymentStepExecutable
Returns the description of this step.- Specified by:
getDescriptionInternal
in classAbstractDeploymentStepExecutable
- Returns:
- the description of this step.
- Throws:
java.lang.Throwable
-
executeInternal
protected 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
-
getComponent
public IComponent getComponent()
Returns the component.- Returns:
- the component.
- Since:
- 7.1.0
-
isMandatory
public boolean isMandatory()
Description copied from interface:IDeploymentStepExecutable
Indicates whether the step is mandatory.- Specified by:
isMandatory
in interfaceIDeploymentStepExecutable
- Overrides:
isMandatory
in classAbstractDeploymentStepExecutable
- Returns:
- whether the step is mandatory.
-
getDeploymentMessageWriters
protected DeploymentMessageWriter[] getDeploymentMessageWriters()
Description copied from class:AbstractDeploymentStepExecutable
Returns the deployment message writer to be used.- Specified by:
getDeploymentMessageWriters
in classAbstractDeploymentStepExecutable
- Returns:
- the deployment message writer to be used.
-
getMessageInternal
protected java.lang.String getMessageInternal() throws java.lang.Throwable
Description copied from class:AbstractDeploymentStepExecutable
Returns the message.- Specified by:
getMessageInternal
in classAbstractDeploymentStepExecutable
- Returns:
- the message.
- Throws:
java.lang.Throwable
-
-