Class AppDeploymentEntityImpl
- java.lang.Object
-
- org.flowable.common.engine.impl.persistence.entity.AbstractEntityNoRevision
-
- com.flowable.app.engine.impl.persistence.entity.AbstractAppEngineNoRevisionEntity
-
- com.flowable.app.engine.impl.persistence.entity.AppDeploymentEntityImpl
-
- All Implemented Interfaces:
AppDeploymentEntity
,Serializable
,AppDeployment
,EngineDeployment
,Entity
public class AppDeploymentEntityImpl extends AbstractAppEngineNoRevisionEntity implements AppDeploymentEntity, Serializable
- Author:
- Tijs Rademakers, Joram Barrez
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected String
category
protected Map<Class<?>,List<Object>>
deployedArtifacts
Will only be used during actual deployment to pass deployed artifacts (eg process definitions).protected Date
deploymentTime
protected boolean
isNew
protected String
key
protected String
name
protected Map<String,EngineResource>
resources
protected String
tenantId
-
Fields inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntityNoRevision
id, isDeleted, isInserted, isUpdated, originalPersistentState
-
-
Constructor Summary
Constructors Constructor Description AppDeploymentEntityImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addDeployedArtifact(Object deployedArtifact)
void
addResource(AppResourceEntity resource)
String
getCategory()
<T> List<T>
getDeployedArtifacts(Class<T> clazz)
Date
getDeploymentTime()
String
getDerivedFrom()
String
getDerivedFromRoot()
String
getEngineVersion()
String
getKey()
String
getName()
Object
getPersistentState()
Map<String,EngineResource>
getResources()
String
getTenantId()
boolean
isNew()
void
setCategory(String category)
void
setDeploymentTime(Date deploymentTime)
void
setKey(String key)
void
setName(String name)
void
setNew(boolean isNew)
void
setResources(Map<String,EngineResource> resources)
void
setTenantId(String tenantId)
String
toString()
-
Methods inherited from class com.flowable.app.engine.impl.persistence.entity.AbstractAppEngineNoRevisionEntity
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
-
-
-
-
Method Detail
-
addResource
public void addResource(AppResourceEntity resource)
- Specified by:
addResource
in interfaceAppDeploymentEntity
-
getResources
public Map<String,EngineResource> getResources()
- Specified by:
getResources
in interfaceEngineDeployment
-
getPersistentState
public Object getPersistentState()
- Specified by:
getPersistentState
in interfaceEntity
-
addDeployedArtifact
public void addDeployedArtifact(Object deployedArtifact)
- Specified by:
addDeployedArtifact
in interfaceAppDeploymentEntity
-
getDeployedArtifacts
public <T> List<T> getDeployedArtifacts(Class<T> clazz)
- Specified by:
getDeployedArtifacts
in interfaceAppDeploymentEntity
-
getName
public String getName()
- Specified by:
getName
in interfaceEngineDeployment
-
setName
public void setName(String name)
- Specified by:
setName
in interfaceAppDeploymentEntity
-
getCategory
public String getCategory()
- Specified by:
getCategory
in interfaceEngineDeployment
-
setCategory
public void setCategory(String category)
- Specified by:
setCategory
in interfaceAppDeploymentEntity
-
getKey
public String getKey()
- Specified by:
getKey
in interfaceEngineDeployment
-
setKey
public void setKey(String key)
- Specified by:
setKey
in interfaceAppDeploymentEntity
-
getTenantId
public String getTenantId()
- Specified by:
getTenantId
in interfaceEngineDeployment
-
setTenantId
public void setTenantId(String tenantId)
- Specified by:
setTenantId
in interfaceAppDeploymentEntity
-
setResources
public void setResources(Map<String,EngineResource> resources)
- Specified by:
setResources
in interfaceAppDeploymentEntity
-
getDeploymentTime
public Date getDeploymentTime()
- Specified by:
getDeploymentTime
in interfaceEngineDeployment
-
setDeploymentTime
public void setDeploymentTime(Date deploymentTime)
- Specified by:
setDeploymentTime
in interfaceAppDeploymentEntity
-
isNew
public boolean isNew()
- Specified by:
isNew
in interfaceAppDeploymentEntity
- Specified by:
isNew
in interfaceEngineDeployment
-
setNew
public void setNew(boolean isNew)
- Specified by:
setNew
in interfaceAppDeploymentEntity
-
getDerivedFrom
public String getDerivedFrom()
- Specified by:
getDerivedFrom
in interfaceEngineDeployment
-
getDerivedFromRoot
public String getDerivedFromRoot()
- Specified by:
getDerivedFromRoot
in interfaceEngineDeployment
-
getEngineVersion
public String getEngineVersion()
- Specified by:
getEngineVersion
in interfaceEngineDeployment
-
-