Package org.jbpm.services.api
Class DeploymentEvent
- java.lang.Object
-
- org.jbpm.services.api.DeploymentEvent
-
public class DeploymentEvent extends Object
Event containing information about a deployment.
-
-
Constructor Summary
Constructors Constructor Description DeploymentEvent(String deploymentId, DeployedUnit deployedUnit)Create a new deployment event given deployment id and deployed unit.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeployedUnitgetDeployedUnit()Returns the deployed unitStringgetDeploymentId()Returns the deployment id.voidsetDeployedUnit(DeployedUnit deployedUnit)Sets the deployed unit.voidsetDeploymentId(String deploymentId)Sets the deployment id.
-
-
-
Constructor Detail
-
DeploymentEvent
public DeploymentEvent(String deploymentId, DeployedUnit deployedUnit)
Create a new deployment event given deployment id and deployed unit.- Parameters:
deploymentId-deployedUnit-
-
-
Method Detail
-
getDeployedUnit
public DeployedUnit getDeployedUnit()
Returns the deployed unit- Returns:
-
setDeployedUnit
public void setDeployedUnit(DeployedUnit deployedUnit)
Sets the deployed unit.- Parameters:
deployedUnit-
-
getDeploymentId
public String getDeploymentId()
Returns the deployment id.- Returns:
- deployment id
-
setDeploymentId
public void setDeploymentId(String deploymentId)
Sets the deployment id.- Parameters:
deploymentId-
-
-