org.camunda.bpm.engine.impl.persistence.entity
Class DeploymentEntity
java.lang.Object
org.camunda.bpm.engine.impl.persistence.entity.DeploymentEntity
- All Implemented Interfaces:
- Serializable, DbEntity, Deployment
- Direct Known Subclasses:
- DeploymentStatisticsEntity
public class DeploymentEntity
- extends Object
- implements Serializable, Deployment, DbEntity
- Author:
- Tom Baeyens
- See Also:
- Serialized Form
id
protected String id
name
protected String name
resources
protected Map<String,ResourceEntity> resources
deploymentTime
protected Date deploymentTime
validatingSchema
protected boolean validatingSchema
isNew
protected boolean isNew
source
protected String source
deployedArtifacts
protected Map<Class<?>,List<Object>> deployedArtifacts
- Will only be used during actual deployment to pass deployed artifacts (eg process definitions).
Will be null otherwise.
notdeployedARtifacts
protected Map<Class<?>,List<Object>> notdeployedARtifacts
DeploymentEntity
public DeploymentEntity()
getResource
public ResourceEntity getResource(String resourceName)
addResource
public void addResource(ResourceEntity resource)
getResources
public Map<String,ResourceEntity> getResources()
getPersistentState
public Object getPersistentState()
- Description copied from interface:
DbEntity
- Returns 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:
getPersistentState in interface DbEntity
addDeployedArtifact
public void addDeployedArtifact(Object deployedArtifact)
getDeployedArtifacts
public <T> List<T> getDeployedArtifacts(Class<T> clazz)
getId
public String getId()
- Specified by:
getId in interface DbEntity- Specified by:
getId in interface Deployment
setId
public void setId(String id)
- Specified by:
setId in interface DbEntity
getName
public String getName()
- Specified by:
getName in interface Deployment
setName
public void setName(String name)
setResources
public void setResources(Map<String,ResourceEntity> resources)
getDeploymentTime
public Date getDeploymentTime()
- Specified by:
getDeploymentTime in interface Deployment
setDeploymentTime
public void setDeploymentTime(Date deploymentTime)
isValidatingSchema
public boolean isValidatingSchema()
setValidatingSchema
public void setValidatingSchema(boolean validatingSchema)
isNew
public boolean isNew()
setNew
public void setNew(boolean isNew)
getSource
public String getSource()
- Specified by:
getSource in interface Deployment
setSource
public void setSource(String source)
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2015 camunda services GmbH. All rights reserved.