Interface DeploymentAction
-
- All Known Implementing Classes:
DeploymentActionImpl
public interface DeploymentAction
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classDeploymentAction.TypeEnumeration of valid types of deployment actions.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetDeploymentUnitUniqueName()Gets the name of the content associated with the action.UUIDgetId()Gets the unique id of the action.StringgetReplacedDeploymentUnitUniqueName()For typeDeploymentAction.Type.REPLACEandDeploymentAction.Type.FULL_REPLACEonly, returns the name of the content that is being replaced.DeploymentAction.TypegetType()Gets the type of the action.
-
-
-
Method Detail
-
getId
UUID getId()
Gets the unique id of the action.- Returns:
- the id. Will not be
null
-
getType
DeploymentAction.Type getType()
Gets the type of the action.- Returns:
- the type. Will not be
null
-
getDeploymentUnitUniqueName
String getDeploymentUnitUniqueName()
Gets the name of the content associated with the action. All deployment content has a unique name provided by the user when anDeploymentAction.Type.ADDorDeploymentAction.Type.FULL_REPLACEaction is requested. API methods that request othertypes of actionswill ask for this name as a parameter.- Returns:
- the name of the content. Will not be
null
-
getReplacedDeploymentUnitUniqueName
String getReplacedDeploymentUnitUniqueName()
For typeDeploymentAction.Type.REPLACEandDeploymentAction.Type.FULL_REPLACEonly, returns the name of the content that is being replaced.- Returns:
- the name of the content being replaced, or
nullifgetType()is notDeploymentAction.Type.REPLACEorDeploymentAction.Type.FULL_REPLACE. Will not benullotherwise
-
-