Class AgentDeploymentEntityImpl

java.lang.Object
org.flowable.common.engine.impl.persistence.entity.AbstractEntity
com.flowable.agent.engine.impl.persistence.entity.AbstractAgentEngineEntity
com.flowable.agent.engine.impl.persistence.entity.AgentDeploymentEntityImpl
All Implemented Interfaces:
AgentDeployment, AgentDeploymentEntity, Serializable, org.flowable.common.engine.api.repository.EngineDeployment, org.flowable.common.engine.impl.db.HasRevision, org.flowable.common.engine.impl.persistence.entity.Entity

public class AgentDeploymentEntityImpl extends AbstractAgentEngineEntity implements AgentDeploymentEntity, Serializable
See Also:
  • Field Details

    • name

      protected String name
    • key

      protected String key
    • category

      protected String category
    • tenantId

      protected String tenantId
    • parentDeploymentId

      protected String parentDeploymentId
    • 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 form definitions). Will be null otherwise.
  • Constructor Details

    • AgentDeploymentEntityImpl

      public AgentDeploymentEntityImpl()
  • Method Details

    • addResource

      public void addResource(AgentResourceEntity resource)
      Specified by:
      addResource in interface AgentDeploymentEntity
    • 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 AgentDeploymentEntity
    • getDeployedArtifacts

      public <T> List<T> getDeployedArtifacts(Class<T> clazz)
      Specified by:
      getDeployedArtifacts in interface AgentDeploymentEntity
    • 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 AgentDeploymentEntity
    • 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 AgentDeploymentEntity
    • getResources

      public Map<String,org.flowable.common.engine.api.repository.EngineResource> getResources()
      Specified by:
      getResources in interface org.flowable.common.engine.api.repository.EngineDeployment
    • 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 AgentDeploymentEntity
    • 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 AgentDeploymentEntity
    • getParentDeploymentId

      public String getParentDeploymentId()
      Specified by:
      getParentDeploymentId in interface AgentDeployment
    • setParentDeploymentId

      public void setParentDeploymentId(String parentDeploymentId)
      Specified by:
      setParentDeploymentId in interface AgentDeploymentEntity
    • setResources

      public void setResources(Map<String,org.flowable.common.engine.api.repository.EngineResource> resources)
      Specified by:
      setResources in interface AgentDeploymentEntity
    • 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 AgentDeploymentEntity
    • isNew

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

      public void setNew(boolean isNew)
      Specified by:
      setNew in interface AgentDeploymentEntity
    • 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