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, CoreAppDeployment, Serializable, org.flowable.app.api.repository.AppDeployment, org.flowable.common.engine.api.repository.EngineDeployment, org.flowable.common.engine.impl.persistence.entity.Entity

public class AppDeploymentEntityImpl extends AbstractAppEngineNoRevisionEntity implements AppDeploymentEntity, Serializable
Author:
Tijs Rademakers, Joram Barrez
See Also:
  • Field Details

    • name

      protected String name
    • category

      protected String category
    • key

      protected String key
    • creatorId

      protected String creatorId
    • tenantId

      protected String tenantId
    • resources

      protected Map<String,org.flowable.common.engine.api.repository.EngineResource> resources
    • deploymentTime

      protected Date deploymentTime
    • isNew

      protected boolean isNew
    • 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.
    • appDefinitionCache

      protected Map<String,AppDefinitionCacheEntry> appDefinitionCache
  • Constructor Details

    • AppDeploymentEntityImpl

      public AppDeploymentEntityImpl()
  • Method Details

    • addResource

      public void addResource(AppResourceEntity resource)
      Specified by:
      addResource in interface AppDeploymentEntity
    • getResources

      public Map<String,org.flowable.common.engine.api.repository.EngineResource> getResources()
      Specified by:
      getResources in interface org.flowable.common.engine.api.repository.EngineDeployment
    • getPersistentState

      public Object getPersistentState()
      Specified by:
      getPersistentState in interface org.flowable.common.engine.impl.persistence.entity.Entity
    • addDeployedArtifact

      public void addDeployedArtifact(Object deployedArtifact)
      Specified by:
      addDeployedArtifact in interface AppDeploymentEntity
    • getDeployedArtifacts

      public <T> List<T> getDeployedArtifacts(Class<T> clazz)
      Specified by:
      getDeployedArtifacts in interface AppDeploymentEntity
    • addAppDefinitionCacheEntry

      public void addAppDefinitionCacheEntry(String appDefinitionId, AppDefinitionCacheEntry appDefinitionCacheEntry)
      Specified by:
      addAppDefinitionCacheEntry in interface AppDeploymentEntity
    • getAppDefinitionCacheEntry

      public AppDefinitionCacheEntry getAppDefinitionCacheEntry(String appDefinitionId)
      Specified by:
      getAppDefinitionCacheEntry in interface AppDeploymentEntity
    • getName

      public String getName()
      Specified by:
      getName in interface org.flowable.common.engine.api.repository.EngineDeployment
    • setName

      public void setName(String name)
      Specified by:
      setName in interface AppDeploymentEntity
    • getCategory

      public String getCategory()
      Specified by:
      getCategory in interface org.flowable.common.engine.api.repository.EngineDeployment
    • setCategory

      public void setCategory(String category)
      Specified by:
      setCategory in interface AppDeploymentEntity
    • getKey

      public String getKey()
      Specified by:
      getKey in interface org.flowable.common.engine.api.repository.EngineDeployment
    • setKey

      public void setKey(String key)
      Specified by:
      setKey in interface AppDeploymentEntity
    • getCreatorId

      public String getCreatorId()
      Specified by:
      getCreatorId in interface CoreAppDeployment
    • setCreatorId

      public void setCreatorId(String creatorId)
      Specified by:
      setCreatorId in interface AppDeploymentEntity
    • getTenantId

      public String getTenantId()
      Specified by:
      getTenantId in interface org.flowable.common.engine.api.repository.EngineDeployment
    • setTenantId

      public void setTenantId(String tenantId)
      Specified by:
      setTenantId in interface AppDeploymentEntity
    • setResources

      public void setResources(Map<String,org.flowable.common.engine.api.repository.EngineResource> resources)
      Specified by:
      setResources in interface AppDeploymentEntity
    • getDeploymentTime

      public Date getDeploymentTime()
      Specified by:
      getDeploymentTime in interface org.flowable.common.engine.api.repository.EngineDeployment
    • setDeploymentTime

      public void setDeploymentTime(Date deploymentTime)
      Specified by:
      setDeploymentTime in interface AppDeploymentEntity
    • isNew

      public boolean isNew()
      Specified by:
      isNew in interface AppDeploymentEntity
      Specified by:
      isNew in interface org.flowable.common.engine.api.repository.EngineDeployment
    • setNew

      public void setNew(boolean isNew)
      Specified by:
      setNew in interface AppDeploymentEntity
    • getDerivedFrom

      public String getDerivedFrom()
      Specified by:
      getDerivedFrom in interface org.flowable.common.engine.api.repository.EngineDeployment
    • getDerivedFromRoot

      public String getDerivedFromRoot()
      Specified by:
      getDerivedFromRoot in interface org.flowable.common.engine.api.repository.EngineDeployment
    • getEngineVersion

      public String getEngineVersion()
      Specified by:
      getEngineVersion in interface org.flowable.common.engine.api.repository.EngineDeployment
    • toString

      public String toString()
      Overrides:
      toString in class Object