Interface DeploymentAction
- All Known Implementing Classes:
DeploymentActionImpl
public interface DeploymentAction
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumEnumeration of valid types of deployment actions. -
Method Summary
Modifier and TypeMethodDescriptionGets the name of the content associated with the action.getId()Gets the unique id of the action.For typeDeploymentAction.Type.REPLACEandDeploymentAction.Type.FULL_REPLACEonly, returns the name of the content that is being replaced.getType()Gets the type of the action.
-
Method Details
-
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
-