public class DecisionRequirementsDefinitionDeployer extends AbstractDefinitionDeployer<DecisionRequirementsDefinitionEntity>
Deployer
responsible to parse DMN 1.1 XML files and create the proper
DecisionRequirementsDefinitionEntity
s.Modifier and Type | Field and Description |
---|---|
protected static DecisionLogger |
LOG |
protected DmnTransformer |
transformer |
DIAGRAM_SUFFIXES, idGenerator
Constructor and Description |
---|
DecisionRequirementsDefinitionDeployer() |
definitionAddedToDeploymentCache, deploy, generateDefinitionId, getCommandContext, getDefinitionDiagramResourceName, getDeploymentCache, getDiagramResourceForDefinition, getDiagramSuffixes, getGeneralDiagramResourceName, getIdGenerator, getNextVersion, getProcessEngineConfiguration, handlePersistedDefinition, isResourceHandled, loadDefinitions, parseDefinitionResources, persistDefinitions, persistedDefinitionLoaded, postProcessDefinitions, registerDefinition, setIdGenerator, stripDefinitionFileSuffix, transformResource, updateDefinitionByLatestDefinition
protected static final DecisionLogger LOG
protected DmnTransformer transformer
public DecisionRequirementsDefinitionDeployer()
protected String[] getResourcesSuffixes()
getResourcesSuffixes
in class AbstractDefinitionDeployer<DecisionRequirementsDefinitionEntity>
protected List<DecisionRequirementsDefinitionEntity> transformDefinitions(DeploymentEntity deployment, ResourceEntity resource, Properties properties)
AbstractDefinitionDeployer
transformDefinitions
in class AbstractDefinitionDeployer<DecisionRequirementsDefinitionEntity>
deployment
- the deployment the resources belongs toresource
- the resource to transformprotected DecisionRequirementsDefinitionEntity findDefinitionByDeploymentAndKey(String deploymentId, String definitionKey)
AbstractDefinitionDeployer
findDefinitionByDeploymentAndKey
in class AbstractDefinitionDeployer<DecisionRequirementsDefinitionEntity>
deploymentId
- the deployment iddefinitionKey
- the definition keyprotected DecisionRequirementsDefinitionEntity findLatestDefinitionByKeyAndTenantId(String definitionKey, String tenantId)
AbstractDefinitionDeployer
findLatestDefinitionByKeyAndTenantId
in class AbstractDefinitionDeployer<DecisionRequirementsDefinitionEntity>
protected void persistDefinition(DecisionRequirementsDefinitionEntity definition)
AbstractDefinitionDeployer
persistDefinition
in class AbstractDefinitionDeployer<DecisionRequirementsDefinitionEntity>
definition
- the definition entityprotected void addDefinitionToDeploymentCache(DeploymentCache deploymentCache, DecisionRequirementsDefinitionEntity definition)
AbstractDefinitionDeployer
addDefinitionToDeploymentCache
in class AbstractDefinitionDeployer<DecisionRequirementsDefinitionEntity>
deploymentCache
- the deployment cachedefinition
- the definition to addprotected void ensureNoDuplicateDefinitionKeys(List<DecisionRequirementsDefinitionEntity> definitions)
public static boolean isDecisionRequirementsDefinitionPersistable(DecisionRequirementsDefinitionEntity definition)
protected void updateDefinitionByPersistedDefinition(DeploymentEntity deployment, DecisionRequirementsDefinitionEntity definition, DecisionRequirementsDefinitionEntity persistedDefinition)
protected DecisionRequirementsDefinitionManager getDecisionRequirementsDefinitionManager()
public DmnTransformer getTransformer()
public void setTransformer(DmnTransformer transformer)
Copyright © 2019. All rights reserved.