Class DeploymentEntityImpl
- java.lang.Object
-
- org.activiti.engine.impl.persistence.entity.AbstractEntityNoRevision
-
- org.activiti.engine.impl.persistence.entity.DeploymentEntityImpl
-
- All Implemented Interfaces:
Serializable,DeploymentEntity,Entity,Deployment
public class DeploymentEntityImpl extends AbstractEntityNoRevision implements DeploymentEntity, Serializable
- 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 StringengineVersionprotected booleanisNewprotected Stringkeyprotected Stringnameprotected Map<String,ResourceEntity>resourcesprotected StringtenantIdprotected Integerversion-
Fields inherited from class org.activiti.engine.impl.persistence.entity.AbstractEntityNoRevision
id, isDeleted, isInserted, isUpdated
-
-
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()StringgetEngineVersion()StringgetKey()StringgetName()ObjectgetPersistentState()Returns a representation of the object, as would be stored in the database.StringgetProjectReleaseVersion()Map<String,ResourceEntity>getResources()StringgetTenantId()IntegergetVersion()booleanisNew()voidsetCategory(String category)voidsetDeploymentTime(Date deploymentTime)voidsetEngineVersion(String engineVersion)voidsetKey(String key)voidsetName(String name)voidsetNew(boolean isNew)voidsetProjectReleaseVersion(String projectReleaseVersion)voidsetResources(Map<String,ResourceEntity> resources)voidsetTenantId(String tenantId)voidsetVersion(Integer version)StringtoString()-
Methods inherited from class org.activiti.engine.impl.persistence.entity.AbstractEntityNoRevision
getId, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setUpdated
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.activiti.engine.repository.Deployment
getId
-
Methods inherited from interface org.activiti.engine.impl.persistence.entity.Entity
getId, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setUpdated
-
-
-
-
Field Detail
-
name
protected String name
-
category
protected String category
-
key
protected String key
-
tenantId
protected String tenantId
-
resources
protected Map<String,ResourceEntity> resources
-
deploymentTime
protected Date deploymentTime
-
isNew
protected boolean isNew
-
version
protected Integer version
-
engineVersion
protected String engineVersion
-
-
Method Detail
-
addResource
public void addResource(ResourceEntity resource)
- Specified by:
addResourcein interfaceDeploymentEntity
-
getResources
public Map<String,ResourceEntity> getResources()
- Specified by:
getResourcesin interfaceDeploymentEntity
-
getPersistentState
public Object getPersistentState()
Description copied from interface:EntityReturns 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 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 interfaceDeployment
-
setName
public void setName(String name)
- Specified by:
setNamein interfaceDeploymentEntity
-
getCategory
public String getCategory()
- Specified by:
getCategoryin interfaceDeployment
-
setCategory
public void setCategory(String category)
- Specified by:
setCategoryin interfaceDeploymentEntity
-
getKey
public String getKey()
- Specified by:
getKeyin interfaceDeployment
-
setKey
public void setKey(String key)
- Specified by:
setKeyin interfaceDeploymentEntity
-
getTenantId
public String getTenantId()
- Specified by:
getTenantIdin interfaceDeployment
-
setTenantId
public void setTenantId(String tenantId)
- Specified by:
setTenantIdin interfaceDeploymentEntity
-
setResources
public void setResources(Map<String,ResourceEntity> resources)
- Specified by:
setResourcesin interfaceDeploymentEntity
-
getDeploymentTime
public Date getDeploymentTime()
- Specified by:
getDeploymentTimein interfaceDeployment
-
setDeploymentTime
public void setDeploymentTime(Date deploymentTime)
- Specified by:
setDeploymentTimein interfaceDeploymentEntity
-
isNew
public boolean isNew()
- Specified by:
isNewin interfaceDeploymentEntity
-
setNew
public void setNew(boolean isNew)
- Specified by:
setNewin interfaceDeploymentEntity
-
getEngineVersion
public String getEngineVersion()
- Specified by:
getEngineVersionin interfaceDeploymentEntity
-
setEngineVersion
public void setEngineVersion(String engineVersion)
- Specified by:
setEngineVersionin interfaceDeploymentEntity
-
getVersion
public Integer getVersion()
- Specified by:
getVersionin interfaceDeployment- Specified by:
getVersionin interfaceDeploymentEntity
-
setVersion
public void setVersion(Integer version)
- Specified by:
setVersionin interfaceDeploymentEntity
-
getProjectReleaseVersion
public String getProjectReleaseVersion()
- Specified by:
getProjectReleaseVersionin interfaceDeployment- Specified by:
getProjectReleaseVersionin interfaceDeploymentEntity
-
setProjectReleaseVersion
public void setProjectReleaseVersion(String projectReleaseVersion)
- Specified by:
setProjectReleaseVersionin interfaceDeploymentEntity
-
-