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 DeploymentEntity
protected boolean
protected boolean
protected boolean
protected Date
protected RepositoryServiceImpl
protected 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 thisDeploymentBuilder
that 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.boolean
boolean
boolean
Gives 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:
addInputStream
in interfaceDeploymentBuilder
-
addClasspathResource
- Specified by:
addClasspathResource
in interfaceDeploymentBuilder
-
addString
- Specified by:
addString
in interfaceDeploymentBuilder
-
addBytes
- Specified by:
addBytes
in interfaceDeploymentBuilder
-
addZipInputStream
- Specified by:
addZipInputStream
in interfaceDeploymentBuilder
-
addBpmnModel
- Specified by:
addBpmnModel
in interfaceDeploymentBuilder
-
name
Description copied from interface:DeploymentBuilder
Gives the deployment the given name.- Specified by:
name
in interfaceDeploymentBuilder
-
category
Description copied from interface:DeploymentBuilder
Gives the deployment the given category.- Specified by:
category
in interfaceDeploymentBuilder
-
key
Description copied from interface:DeploymentBuilder
Gives the deployment the given key.- Specified by:
key
in interfaceDeploymentBuilder
-
parentDeploymentId
Description copied from interface:DeploymentBuilder
Gives the deployment the given parent deployment id.- Specified by:
parentDeploymentId
in interfaceDeploymentBuilder
-
disableBpmnValidation
Description copied from interface:DeploymentBuilder
If 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:
disableBpmnValidation
in interfaceDeploymentBuilder
-
disableSchemaValidation
Description copied from interface:DeploymentBuilder
If called, no XML schema validation against the BPMN 2.0 XSD. Not recommended in general.- Specified by:
disableSchemaValidation
in interfaceDeploymentBuilder
-
tenantId
Description copied from interface:DeploymentBuilder
Gives the deployment the given tenant id.- Specified by:
tenantId
in interfaceDeploymentBuilder
-
enableDuplicateFiltering
Description copied from interface:DeploymentBuilder
If 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:
enableDuplicateFiltering
in interfaceDeploymentBuilder
-
activateProcessDefinitionsOn
Description copied from interface:DeploymentBuilder
Sets 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:
activateProcessDefinitionsOn
in interfaceDeploymentBuilder
-
deploymentProperty
Description copied from interface:DeploymentBuilder
Allows to add a property to thisDeploymentBuilder
that influences the deployment.- Specified by:
deploymentProperty
in interfaceDeploymentBuilder
-
deploy
Description copied from interface:DeploymentBuilder
Deploys all provided sources to the process engine.- Specified by:
deploy
in interfaceDeploymentBuilder
-
getDeployment
-
isProcessValidationEnabled
public boolean isProcessValidationEnabled() -
isBpmn20XsdValidationEnabled
public boolean isBpmn20XsdValidationEnabled() -
isDuplicateFilterEnabled
public boolean isDuplicateFilterEnabled() -
getProcessDefinitionsActivationDate
-
getDeploymentProperties
-