|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.camunda.bpm.engine.impl.AbstractDefinitionDeployer<DecisionDefinitionEntity>
org.camunda.bpm.engine.impl.dmn.deployer.DecisionDefinitionDeployer
public class DecisionDefinitionDeployer
Deployer responsible to parse DMN 1.1 XML files and create the proper
DecisionDefinitionEntitys. Since it uses the result of the
DecisionRequirementsDefinitionDeployer to avoid duplicated parsing, the DecisionRequirementsDefinitionDeployer must
process the deployment before this cacheDeployer.
| Field Summary | |
|---|---|
static String[] |
DMN_RESOURCE_SUFFIXES
|
protected static DecisionLogger |
LOG
|
protected org.camunda.bpm.dmn.engine.impl.spi.transform.DmnTransformer |
transformer
|
| Fields inherited from class org.camunda.bpm.engine.impl.AbstractDefinitionDeployer |
|---|
DIAGRAM_SUFFIXES, idGenerator |
| Constructor Summary | |
|---|---|
DecisionDefinitionDeployer()
|
|
| Method Summary | |
|---|---|
protected void |
addDefinitionToDeploymentCache(DeploymentCache deploymentCache,
DecisionDefinitionEntity definition)
Add a definition to the deployment cache |
protected DecisionDefinitionEntity |
findDefinitionByDeploymentAndKey(String deploymentId,
String definitionKey)
Find a definition entity by deployment id and definition key. |
protected DecisionRequirementsDefinitionEntity |
findDeployedDrdForResource(DeploymentEntity deployment,
String resourceName)
|
protected DecisionDefinitionEntity |
findLatestDefinitionByKeyAndTenantId(String definitionKey,
String tenantId)
Find the last deployed definition entity by definition key and tenant id. |
protected DecisionDefinitionManager |
getDecisionDefinitionManager()
|
protected String[] |
getResourcesSuffixes()
|
org.camunda.bpm.dmn.engine.impl.spi.transform.DmnTransformer |
getTransformer()
|
protected void |
persistDefinition(DecisionDefinitionEntity definition)
Persist definition entity into the database. |
void |
setTransformer(org.camunda.bpm.dmn.engine.impl.spi.transform.DmnTransformer transformer)
|
protected List<DecisionDefinitionEntity> |
transformDefinitions(DeploymentEntity deployment,
ResourceEntity resource,
Properties properties)
Transform the resource entity into definition entities. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final DecisionLogger LOG
public static final String[] DMN_RESOURCE_SUFFIXES
protected org.camunda.bpm.dmn.engine.impl.spi.transform.DmnTransformer transformer
| Constructor Detail |
|---|
public DecisionDefinitionDeployer()
| Method Detail |
|---|
protected String[] getResourcesSuffixes()
getResourcesSuffixes in class AbstractDefinitionDeployer<DecisionDefinitionEntity>
protected List<DecisionDefinitionEntity> transformDefinitions(DeploymentEntity deployment,
ResourceEntity resource,
Properties properties)
AbstractDefinitionDeployer
transformDefinitions in class AbstractDefinitionDeployer<DecisionDefinitionEntity>deployment - the deployment the resources belongs toresource - the resource to transform
protected DecisionRequirementsDefinitionEntity findDeployedDrdForResource(DeploymentEntity deployment,
String resourceName)
protected DecisionDefinitionEntity findDefinitionByDeploymentAndKey(String deploymentId,
String definitionKey)
AbstractDefinitionDeployer
findDefinitionByDeploymentAndKey in class AbstractDefinitionDeployer<DecisionDefinitionEntity>deploymentId - the deployment iddefinitionKey - the definition key
protected DecisionDefinitionEntity findLatestDefinitionByKeyAndTenantId(String definitionKey,
String tenantId)
AbstractDefinitionDeployer
findLatestDefinitionByKeyAndTenantId in class AbstractDefinitionDeployer<DecisionDefinitionEntity>protected void persistDefinition(DecisionDefinitionEntity definition)
AbstractDefinitionDeployer
persistDefinition in class AbstractDefinitionDeployer<DecisionDefinitionEntity>definition - the definition entity
protected void addDefinitionToDeploymentCache(DeploymentCache deploymentCache,
DecisionDefinitionEntity definition)
AbstractDefinitionDeployer
addDefinitionToDeploymentCache in class AbstractDefinitionDeployer<DecisionDefinitionEntity>deploymentCache - the deployment cachedefinition - the definition to addprotected DecisionDefinitionManager getDecisionDefinitionManager()
public org.camunda.bpm.dmn.engine.impl.spi.transform.DmnTransformer getTransformer()
public void setTransformer(org.camunda.bpm.dmn.engine.impl.spi.transform.DmnTransformer transformer)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||