public class DecisionRequirementsDefinitionDeployer extends AbstractDefinitionDeployer<DecisionRequirementsDefinitionEntity>
Deployer responsible to parse DMN 1.1 XML files and create the proper
DecisionRequirementsDefinitionEntitys.| 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, updateDefinitionByLatestDefinitionprotected 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)
AbstractDefinitionDeployertransformDefinitions in class AbstractDefinitionDeployer<DecisionRequirementsDefinitionEntity>deployment - the deployment the resources belongs toresource - the resource to transformprotected DecisionRequirementsDefinitionEntity findDefinitionByDeploymentAndKey(String deploymentId, String definitionKey)
AbstractDefinitionDeployerfindDefinitionByDeploymentAndKey in class AbstractDefinitionDeployer<DecisionRequirementsDefinitionEntity>deploymentId - the deployment iddefinitionKey - the definition keyprotected DecisionRequirementsDefinitionEntity findLatestDefinitionByKeyAndTenantId(String definitionKey, String tenantId)
AbstractDefinitionDeployerfindLatestDefinitionByKeyAndTenantId in class AbstractDefinitionDeployer<DecisionRequirementsDefinitionEntity>protected void persistDefinition(DecisionRequirementsDefinitionEntity definition)
AbstractDefinitionDeployerpersistDefinition in class AbstractDefinitionDeployer<DecisionRequirementsDefinitionEntity>definition - the definition entityprotected void addDefinitionToDeploymentCache(DeploymentCache deploymentCache, DecisionRequirementsDefinitionEntity definition)
AbstractDefinitionDeployeraddDefinitionToDeploymentCache 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 © 2022. All rights reserved.