Class DeploymentEntity
java.lang.Object
org.camunda.bpm.engine.impl.persistence.entity.DeploymentEntity
- All Implemented Interfaces:
- Serializable,- DbEntity,- Deployment,- DeploymentWithDefinitions
- Direct Known Subclasses:
- DeploymentStatisticsEntity
public class DeploymentEntity
extends Object
implements Serializable, DeploymentWithDefinitions, DbEntity
- Author:
- Tom Baeyens
- See Also:
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddDeployedArtifact(ResourceDefinitionEntity deployedArtifact) voidaddResource(ResourceEntity resource) void<T> List<T>getDeployedArtifacts(Class<T> clazz) Returns the case definitions, which are deployed with that deployment.Returns the decision definitions, which are deployed with that deploymentReturns the decision requirements definitions, which are deployed with that deploymentReturns the process definitions, which are deployed with that deployment.getId()getName()Returns a representation of the object, as would be stored in the database.getResource(String resourceName) Returns the id of the tenant this deployment belongs to.booleanisNew()booleanvoidremoveArtifact(ResourceDefinitionEntity notDeployedArtifact) voidsetDeploymentTime(Date deploymentTime) voidvoidvoidsetNew(boolean isNew) voidsetResources(Map<String, ResourceEntity> resources) voidvoidsetTenantId(String tenantId) voidsetValidatingSchema(boolean validatingSchema) toString()
- 
Field Details- 
id
- 
name
- 
resources
- 
deploymentTime
- 
validatingSchemaprotected boolean validatingSchema
- 
isNewprotected boolean isNew
- 
source
- 
tenantId
- 
deployedArtifactsWill only be used during actual deployment to pass deployed artifacts (eg process definitions). Will be null otherwise.
 
- 
- 
Constructor Details- 
DeploymentEntitypublic DeploymentEntity()
 
- 
- 
Method Details- 
getResource
- 
addResource
- 
clearResourcespublic void clearResources()
- 
getResources
- 
getPersistentStateDescription copied from interface:DbEntityReturns a representation of the object, as would be stored in the database. Used when deciding if updates have occurred to the object or not since it was last loaded.- Specified by:
- getPersistentStatein interface- DbEntity
 
- 
addDeployedArtifact
- 
getDeployedArtifacts
- 
getDeployedArtifacts
- 
removeArtifact
- 
getId- Specified by:
- getIdin interface- DbEntity
- Specified by:
- getIdin interface- Deployment
 
- 
setId
- 
getName- Specified by:
- getNamein interface- Deployment
 
- 
setName
- 
setResources
- 
getDeploymentTime- Specified by:
- getDeploymentTimein interface- Deployment
 
- 
setDeploymentTime
- 
isValidatingSchemapublic boolean isValidatingSchema()
- 
setValidatingSchemapublic void setValidatingSchema(boolean validatingSchema) 
- 
isNewpublic boolean isNew()
- 
setNewpublic void setNew(boolean isNew) 
- 
getSource- Specified by:
- getSourcein interface- Deployment
 
- 
setSource
- 
getTenantIdDescription copied from interface:DeploymentReturns the id of the tenant this deployment belongs to. Can benullif the deployment belongs to no single tenant.- Specified by:
- getTenantIdin interface- Deployment
 
- 
setTenantId
- 
getDeployedProcessDefinitionsDescription copied from interface:DeploymentWithDefinitionsReturns the process definitions, which are deployed with that deployment.- Specified by:
- getDeployedProcessDefinitionsin interface- DeploymentWithDefinitions
- Returns:
- the process definitions which are deployed
 
- 
getDeployedCaseDefinitionsDescription copied from interface:DeploymentWithDefinitionsReturns the case definitions, which are deployed with that deployment.- Specified by:
- getDeployedCaseDefinitionsin interface- DeploymentWithDefinitions
- Returns:
- the case definitions, which are deployed
 
- 
getDeployedDecisionDefinitionsDescription copied from interface:DeploymentWithDefinitionsReturns the decision definitions, which are deployed with that deployment- Specified by:
- getDeployedDecisionDefinitionsin interface- DeploymentWithDefinitions
- Returns:
- the decision definitions, which are deployed
 
- 
getDeployedDecisionRequirementsDefinitionsDescription copied from interface:DeploymentWithDefinitionsReturns the decision requirements definitions, which are deployed with that deployment- Specified by:
- getDeployedDecisionRequirementsDefinitionsin interface- DeploymentWithDefinitions
- Returns:
- the decision definitions, which are deployed
 
- 
toString
 
-