Class DeploymentEntityImpl
- java.lang.Object
-
- org.flowable.common.engine.impl.persistence.entity.AbstractEntityNoRevision
-
- org.flowable.engine.impl.persistence.entity.AbstractBpmnEngineNoRevisionEntity
-
- org.flowable.engine.impl.persistence.entity.DeploymentEntityImpl
-
- All Implemented Interfaces:
Serializable,EngineDeployment,Entity,DeploymentEntity,Deployment
public class DeploymentEntityImpl extends AbstractBpmnEngineNoRevisionEntity implements DeploymentEntity, Serializable
- Author:
- Tom Baeyens, Joram Barrez
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Stringcategoryprotected Map<Class<?>,List<Object>>deployedArtifactsWill only be used during actual deployment to pass deployed artifacts (eg process definitions).protected DatedeploymentTimeprotected StringderivedFromprotected StringderivedFromRootprotected StringengineVersionprotected booleanisNewprotected Stringkeyprotected Stringnameprotected StringparentDeploymentIdprotected Map<String,EngineResource>resourcesprotected StringtenantId-
Fields inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntityNoRevision
id, isDeleted, isInserted, isUpdated, originalPersistentState
-
-
Constructor Summary
Constructors Constructor Description DeploymentEntityImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddDeployedArtifact(Object deployedArtifact)voidaddResource(ResourceEntity resource)StringgetCategory()<T> List<T>getDeployedArtifacts(Class<T> clazz)DategetDeploymentTime()StringgetDerivedFrom()StringgetDerivedFromRoot()StringgetEngineVersion()StringgetKey()StringgetName()StringgetParentDeploymentId()ObjectgetPersistentState()Map<String,EngineResource>getResources()StringgetTenantId()booleanisNew()voidsetCategory(String category)voidsetDeploymentTime(Date deploymentTime)voidsetDerivedFrom(String derivedFrom)voidsetDerivedFromRoot(String derivedFromRoot)voidsetEngineVersion(String engineVersion)voidsetKey(String key)voidsetName(String name)voidsetNew(boolean isNew)voidsetParentDeploymentId(String parentDeploymentId)voidsetResources(Map<String,EngineResource> resources)voidsetTenantId(String tenantId)StringtoString()-
Methods inherited from class org.flowable.engine.impl.persistence.entity.AbstractBpmnEngineNoRevisionEntity
getIdPrefix
-
Methods inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntityNoRevision
getId, getOriginalPersistentState, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setUpdated
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.flowable.common.engine.api.repository.EngineDeployment
getId
-
Methods inherited from interface org.flowable.common.engine.impl.persistence.entity.Entity
getId, getIdPrefix, getOriginalPersistentState, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setUpdated
-
-
-
-
Field Detail
-
name
protected String name
-
category
protected String category
-
key
protected String key
-
tenantId
protected String tenantId
-
resources
protected Map<String,EngineResource> resources
-
deploymentTime
protected Date deploymentTime
-
isNew
protected boolean isNew
-
derivedFrom
protected String derivedFrom
-
derivedFromRoot
protected String derivedFromRoot
-
parentDeploymentId
protected String parentDeploymentId
-
engineVersion
protected String engineVersion
-
-
Method Detail
-
addResource
public void addResource(ResourceEntity resource)
- Specified by:
addResourcein interfaceDeploymentEntity
-
getResources
public Map<String,EngineResource> getResources()
- Specified by:
getResourcesin interfaceEngineDeployment
-
getPersistentState
public Object getPersistentState()
- Specified by:
getPersistentStatein interfaceEntity
-
addDeployedArtifact
public void addDeployedArtifact(Object deployedArtifact)
- Specified by:
addDeployedArtifactin interfaceDeploymentEntity
-
getDeployedArtifacts
public <T> List<T> getDeployedArtifacts(Class<T> clazz)
- Specified by:
getDeployedArtifactsin interfaceDeploymentEntity
-
getName
public String getName()
- Specified by:
getNamein interfaceEngineDeployment
-
setName
public void setName(String name)
- Specified by:
setNamein interfaceDeploymentEntity
-
getCategory
public String getCategory()
- Specified by:
getCategoryin interfaceEngineDeployment
-
setCategory
public void setCategory(String category)
- Specified by:
setCategoryin interfaceDeploymentEntity
-
getKey
public String getKey()
- Specified by:
getKeyin interfaceEngineDeployment
-
setKey
public void setKey(String key)
- Specified by:
setKeyin interfaceDeploymentEntity
-
getTenantId
public String getTenantId()
- Specified by:
getTenantIdin interfaceEngineDeployment
-
setTenantId
public void setTenantId(String tenantId)
- Specified by:
setTenantIdin interfaceDeploymentEntity
-
setResources
public void setResources(Map<String,EngineResource> resources)
- Specified by:
setResourcesin interfaceDeploymentEntity
-
getDeploymentTime
public Date getDeploymentTime()
- Specified by:
getDeploymentTimein interfaceEngineDeployment
-
setDeploymentTime
public void setDeploymentTime(Date deploymentTime)
- Specified by:
setDeploymentTimein interfaceDeploymentEntity
-
isNew
public boolean isNew()
- Specified by:
isNewin interfaceDeploymentEntity- Specified by:
isNewin interfaceEngineDeployment
-
setNew
public void setNew(boolean isNew)
- Specified by:
setNewin interfaceDeploymentEntity
-
getEngineVersion
public String getEngineVersion()
- Specified by:
getEngineVersionin interfaceEngineDeployment
-
setEngineVersion
public void setEngineVersion(String engineVersion)
- Specified by:
setEngineVersionin interfaceDeploymentEntity
-
getDerivedFrom
public String getDerivedFrom()
- Specified by:
getDerivedFromin interfaceEngineDeployment
-
setDerivedFrom
public void setDerivedFrom(String derivedFrom)
- Specified by:
setDerivedFromin interfaceDeploymentEntity
-
getDerivedFromRoot
public String getDerivedFromRoot()
- Specified by:
getDerivedFromRootin interfaceEngineDeployment
-
setDerivedFromRoot
public void setDerivedFromRoot(String derivedFromRoot)
- Specified by:
setDerivedFromRootin interfaceDeploymentEntity
-
getParentDeploymentId
public String getParentDeploymentId()
- Specified by:
getParentDeploymentIdin interfaceDeployment
-
setParentDeploymentId
public void setParentDeploymentId(String parentDeploymentId)
- Specified by:
setParentDeploymentIdin interfaceDeploymentEntity
-
-