Class DeploymentBuilderImpl
java.lang.Object
org.flowable.engine.impl.repository.DeploymentBuilderImpl
- All Implemented Interfaces:
Serializable,DeploymentBuilder
- Author:
- Tom Baeyens, Joram Barrez
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected DeploymentEntityprotected booleanprotected booleanprotected booleanprotected Dateprotected RepositoryServiceImplprotected ResourceEntityManager -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the date on which the process definitions contained in this deployment will be activated.addBpmnModel(String resourceName, BpmnModel bpmnModel) addClasspathResource(String resource) addInputStream(String resourceName, InputStream inputStream) addZipInputStream(ZipInputStream zipInputStream) Gives the deployment the given category.deploy()Deploys all provided sources to the process engine.deploymentProperty(String propertyKey, Object propertyValue) Allows to add a property to thisDeploymentBuilderthat influences the deployment.If called, no validation that the process definition is executable on the engine will be done against the process definition.If called, no XML schema validation against the BPMN 2.0 XSD.If set, this deployment will be compared to any previous deployment.booleanbooleanbooleanGives the deployment the given key.Gives the deployment the given name.parentDeploymentId(String parentDeploymentId) Gives the deployment the given parent deployment id.Gives the deployment the given tenant id.
-
Field Details
-
repositoryService
-
resourceEntityManager
-
deployment
-
isBpmn20XsdValidationEnabled
protected boolean isBpmn20XsdValidationEnabled -
isProcessValidationEnabled
protected boolean isProcessValidationEnabled -
isDuplicateFilterEnabled
protected boolean isDuplicateFilterEnabled -
processDefinitionsActivationDate
-
deploymentProperties
-
-
Constructor Details
-
DeploymentBuilderImpl
-
-
Method Details
-
addInputStream
- Specified by:
addInputStreamin interfaceDeploymentBuilder
-
addClasspathResource
- Specified by:
addClasspathResourcein interfaceDeploymentBuilder
-
addString
- Specified by:
addStringin interfaceDeploymentBuilder
-
addBytes
- Specified by:
addBytesin interfaceDeploymentBuilder
-
addZipInputStream
- Specified by:
addZipInputStreamin interfaceDeploymentBuilder
-
addBpmnModel
- Specified by:
addBpmnModelin interfaceDeploymentBuilder
-
name
Description copied from interface:DeploymentBuilderGives the deployment the given name.- Specified by:
namein interfaceDeploymentBuilder
-
category
Description copied from interface:DeploymentBuilderGives the deployment the given category.- Specified by:
categoryin interfaceDeploymentBuilder
-
key
Description copied from interface:DeploymentBuilderGives the deployment the given key.- Specified by:
keyin interfaceDeploymentBuilder
-
parentDeploymentId
Description copied from interface:DeploymentBuilderGives the deployment the given parent deployment id.- Specified by:
parentDeploymentIdin interfaceDeploymentBuilder
-
disableBpmnValidation
Description copied from interface:DeploymentBuilderIf called, no validation that the process definition is executable on the engine will be done against the process definition. Not recommended in general.- Specified by:
disableBpmnValidationin interfaceDeploymentBuilder
-
disableSchemaValidation
Description copied from interface:DeploymentBuilderIf called, no XML schema validation against the BPMN 2.0 XSD. Not recommended in general.- Specified by:
disableSchemaValidationin interfaceDeploymentBuilder
-
tenantId
Description copied from interface:DeploymentBuilderGives the deployment the given tenant id.- Specified by:
tenantIdin interfaceDeploymentBuilder
-
enableDuplicateFiltering
Description copied from interface:DeploymentBuilderIf set, this deployment will be compared to any previous deployment. This means that every (non-generated) resource will be compared with the provided resources of this deployment.- Specified by:
enableDuplicateFilteringin interfaceDeploymentBuilder
-
activateProcessDefinitionsOn
Description copied from interface:DeploymentBuilderSets the date on which the process definitions contained in this deployment will be activated. This means that all process definitions will be deployed as usual, but they will be suspended from the start until the given activation date.- Specified by:
activateProcessDefinitionsOnin interfaceDeploymentBuilder
-
deploymentProperty
Description copied from interface:DeploymentBuilderAllows to add a property to thisDeploymentBuilderthat influences the deployment.- Specified by:
deploymentPropertyin interfaceDeploymentBuilder
-
deploy
Description copied from interface:DeploymentBuilderDeploys all provided sources to the process engine.- Specified by:
deployin interfaceDeploymentBuilder
-
getDeployment
-
isProcessValidationEnabled
public boolean isProcessValidationEnabled() -
isBpmn20XsdValidationEnabled
public boolean isBpmn20XsdValidationEnabled() -
isDuplicateFilterEnabled
public boolean isDuplicateFilterEnabled() -
getProcessDefinitionsActivationDate
-
getDeploymentProperties
-