|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.camunda.bpm.engine.impl.persistence.entity.DeploymentEntity
public class DeploymentEntity
| Field Summary | |
|---|---|
protected Map<Class<?>,List> |
deployedArtifacts
Will only be used during actual deployment to pass deployed artifacts (eg process definitions). |
protected Date |
deploymentTime
|
protected String |
id
|
protected boolean |
isNew
|
protected String |
name
|
protected Map<String,ResourceEntity> |
resources
|
protected String |
source
|
protected String |
tenantId
|
protected boolean |
validatingSchema
|
| Constructor Summary | |
|---|---|
DeploymentEntity()
|
|
| Method Summary | ||
|---|---|---|
void |
addDeployedArtifact(ResourceDefinitionEntity deployedArtifact)
|
|
void |
addResource(ResourceEntity resource)
|
|
void |
clearResources()
|
|
Map<Class<?>,List> |
getDeployedArtifacts()
|
|
|
getDeployedArtifacts(Class<T> clazz)
|
|
List<CaseDefinition> |
getDeployedCaseDefinitions()
Returns the case definitions, which are deployed with that deployment. |
|
List<DecisionDefinition> |
getDeployedDecisionDefinitions()
Returns the decision definitions, which are deployed with that deployment |
|
List<DecisionRequirementsDefinition> |
getDeployedDecisionRequirementsDefinitions()
Returns the decision requirements definitions, which are deployed with that deployment |
|
List<ProcessDefinition> |
getDeployedProcessDefinitions()
Returns the process definitions, which are deployed with that deployment. |
|
Date |
getDeploymentTime()
|
|
String |
getId()
|
|
String |
getName()
|
|
Object |
getPersistentState()
Returns a representation of the object, as would be stored in the database. |
|
ResourceEntity |
getResource(String resourceName)
|
|
Map<String,ResourceEntity> |
getResources()
|
|
String |
getSource()
|
|
String |
getTenantId()
Returns the id of the tenant this deployment belongs to. |
|
boolean |
isNew()
|
|
boolean |
isValidatingSchema()
|
|
void |
removeArtifact(ResourceDefinitionEntity notDeployedArtifact)
|
|
void |
setDeploymentTime(Date deploymentTime)
|
|
void |
setId(String id)
|
|
void |
setName(String name)
|
|
void |
setNew(boolean isNew)
|
|
void |
setResources(Map<String,ResourceEntity> resources)
|
|
void |
setSource(String source)
|
|
void |
setTenantId(String tenantId)
|
|
void |
setValidatingSchema(boolean validatingSchema)
|
|
String |
toString()
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected String id
protected String name
protected Map<String,ResourceEntity> resources
protected Date deploymentTime
protected boolean validatingSchema
protected boolean isNew
protected String source
protected String tenantId
protected Map<Class<?>,List> deployedArtifacts
| Constructor Detail |
|---|
public DeploymentEntity()
| Method Detail |
|---|
public ResourceEntity getResource(String resourceName)
public void addResource(ResourceEntity resource)
public void clearResources()
public Map<String,ResourceEntity> getResources()
public Object getPersistentState()
DbEntity
getPersistentState in interface DbEntitypublic void addDeployedArtifact(ResourceDefinitionEntity deployedArtifact)
public Map<Class<?>,List> getDeployedArtifacts()
public <T> List<T> getDeployedArtifacts(Class<T> clazz)
public void removeArtifact(ResourceDefinitionEntity notDeployedArtifact)
public String getId()
getId in interface DbEntitygetId in interface Deploymentpublic void setId(String id)
setId in interface DbEntitypublic String getName()
getName in interface Deploymentpublic void setName(String name)
public void setResources(Map<String,ResourceEntity> resources)
public Date getDeploymentTime()
getDeploymentTime in interface Deploymentpublic void setDeploymentTime(Date deploymentTime)
public boolean isValidatingSchema()
public void setValidatingSchema(boolean validatingSchema)
public boolean isNew()
public void setNew(boolean isNew)
public String getSource()
getSource in interface Deploymentpublic void setSource(String source)
public String getTenantId()
Deploymentnull
if the deployment belongs to no single tenant.
getTenantId in interface Deploymentpublic void setTenantId(String tenantId)
public List<ProcessDefinition> getDeployedProcessDefinitions()
DeploymentWithDefinitions
getDeployedProcessDefinitions in interface DeploymentWithDefinitionspublic List<CaseDefinition> getDeployedCaseDefinitions()
DeploymentWithDefinitions
getDeployedCaseDefinitions in interface DeploymentWithDefinitionspublic List<DecisionDefinition> getDeployedDecisionDefinitions()
DeploymentWithDefinitions
getDeployedDecisionDefinitions in interface DeploymentWithDefinitionspublic List<DecisionRequirementsDefinition> getDeployedDecisionRequirementsDefinitions()
DeploymentWithDefinitions
getDeployedDecisionRequirementsDefinitions in interface DeploymentWithDefinitionspublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||