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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier 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
-
validatingSchema
protected boolean validatingSchema -
isNew
protected boolean isNew -
source
-
tenantId
-
deployedArtifacts
Will only be used during actual deployment to pass deployed artifacts (eg process definitions). Will be null otherwise.
-
-
Constructor Details
-
DeploymentEntity
public DeploymentEntity()
-
-
Method Details
-
getResource
-
addResource
-
clearResources
public void clearResources() -
getResources
-
getPersistentState
Description 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 interfaceDbEntity
-
addDeployedArtifact
-
getDeployedArtifacts
-
getDeployedArtifacts
-
removeArtifact
-
getId
- Specified by:
getIdin interfaceDbEntity- Specified by:
getIdin interfaceDeployment
-
setId
-
getName
- Specified by:
getNamein interfaceDeployment
-
setName
-
setResources
-
getDeploymentTime
- Specified by:
getDeploymentTimein interfaceDeployment
-
setDeploymentTime
-
isValidatingSchema
public boolean isValidatingSchema() -
setValidatingSchema
public void setValidatingSchema(boolean validatingSchema) -
isNew
public boolean isNew() -
setNew
public void setNew(boolean isNew) -
getSource
- Specified by:
getSourcein interfaceDeployment
-
setSource
-
getTenantId
Description 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 interfaceDeployment
-
setTenantId
-
getDeployedProcessDefinitions
Description copied from interface:DeploymentWithDefinitionsReturns the process definitions, which are deployed with that deployment.- Specified by:
getDeployedProcessDefinitionsin interfaceDeploymentWithDefinitions- Returns:
- the process definitions which are deployed
-
getDeployedCaseDefinitions
Description copied from interface:DeploymentWithDefinitionsReturns the case definitions, which are deployed with that deployment.- Specified by:
getDeployedCaseDefinitionsin interfaceDeploymentWithDefinitions- Returns:
- the case definitions, which are deployed
-
getDeployedDecisionDefinitions
Description copied from interface:DeploymentWithDefinitionsReturns the decision definitions, which are deployed with that deployment- Specified by:
getDeployedDecisionDefinitionsin interfaceDeploymentWithDefinitions- Returns:
- the decision definitions, which are deployed
-
getDeployedDecisionRequirementsDefinitions
Description copied from interface:DeploymentWithDefinitionsReturns the decision requirements definitions, which are deployed with that deployment- Specified by:
getDeployedDecisionRequirementsDefinitionsin interfaceDeploymentWithDefinitions- Returns:
- the decision definitions, which are deployed
-
toString
-