Interface DeploymentAction
-
- All Known Implementing Classes:
DeploymentActionImpl
public interface DeploymentAction
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
DeploymentAction.Type
Enumeration of valid types of deployment actions.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getDeploymentUnitUniqueName()
Gets the name of the content associated with the action.UUID
getId()
Gets the unique id of the action.String
getReplacedDeploymentUnitUniqueName()
For typeDeploymentAction.Type.REPLACE
andDeploymentAction.Type.FULL_REPLACE
only, returns the name of the content that is being replaced.DeploymentAction.Type
getType()
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.ADD
orDeploymentAction.Type.FULL_REPLACE
action is requested. API methods that request othertypes of actions
will ask for this name as a parameter.- Returns:
- the name of the content. Will not be
null
-
getReplacedDeploymentUnitUniqueName
String getReplacedDeploymentUnitUniqueName()
For typeDeploymentAction.Type.REPLACE
andDeploymentAction.Type.FULL_REPLACE
only, returns the name of the content that is being replaced.- Returns:
- the name of the content being replaced, or
null
ifgetType()
is notDeploymentAction.Type.REPLACE
orDeploymentAction.Type.FULL_REPLACE
. Will not benull
otherwise
-
-