|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ProcessApplicationDeploymentBuilder
Builder for a ProcessApplication deployment
A process application deployment is different from a regular deployment.
Besides deploying a set of process definitions to the database,
this deployment has the additional side effect that the process application
is registered for the deployment. This means that the process engine will exeute
all process definitions contained in the deployment in the context of the process
application (by calling the process application's
ProcessApplicationInterface.execute(java.util.concurrent.Callable) method.
| Method Summary | |
|---|---|
ProcessApplicationDeploymentBuilder |
activateProcessDefinitionsOn(Date date)
Sets the date on which the process definitions contained in this deployment will be activated. |
ProcessApplicationDeploymentBuilder |
addClasspathResource(String resource)
|
ProcessApplicationDeploymentBuilder |
addInputStream(String resourceName,
InputStream inputStream)
|
ProcessApplicationDeploymentBuilder |
addModelInstance(String resourceName,
org.camunda.bpm.model.bpmn.BpmnModelInstance modelInstance)
|
ProcessApplicationDeploymentBuilder |
addString(String resourceName,
String text)
|
ProcessApplicationDeploymentBuilder |
addZipInputStream(ZipInputStream zipInputStream)
|
ProcessApplicationDeployment |
deploy()
Deploys all provided sources to the process engine. |
ProcessApplicationDeploymentBuilder |
enableDuplicateFiltering()
Deprecated. |
ProcessApplicationDeploymentBuilder |
enableDuplicateFiltering(boolean deployChangedOnly)
Check the resources for duplicates in the set of previous deployments. |
ProcessApplicationDeploymentBuilder |
name(String name)
Gives the deployment the given name. |
ProcessApplicationDeploymentBuilder |
resumePreviousVersions()
If this method is called, additional registrations will be created for previous versions of the deployment. |
ProcessApplicationDeploymentBuilder |
resumePreviousVersionsBy(String resumePreviousVersionsBy)
This method defines on what additional registrations will be based. |
| Methods inherited from interface org.camunda.bpm.engine.repository.DeploymentBuilder |
|---|
getResourceNames |
| Method Detail |
|---|
ProcessApplicationDeploymentBuilder resumePreviousVersions()
If this method is called, additional registrations will be created for previous versions of the deployment.
ProcessApplicationDeploymentBuilder resumePreviousVersionsBy(String resumePreviousVersionsBy)
resumePreviousVersions() is set.
resumeByProcessDefinitionKey - one of the constants from ResumePreviousByResumePreviousBy,
resumePreviousVersions()ProcessApplicationDeployment deploy()
DeploymentBuilder
deploy in interface DeploymentBuilder
ProcessApplicationDeploymentBuilder addInputStream(String resourceName,
InputStream inputStream)
addInputStream in interface DeploymentBuilderProcessApplicationDeploymentBuilder addClasspathResource(String resource)
addClasspathResource in interface DeploymentBuilder
ProcessApplicationDeploymentBuilder addString(String resourceName,
String text)
addString in interface DeploymentBuilder
ProcessApplicationDeploymentBuilder addModelInstance(String resourceName,
org.camunda.bpm.model.bpmn.BpmnModelInstance modelInstance)
addModelInstance in interface DeploymentBuilderProcessApplicationDeploymentBuilder addZipInputStream(ZipInputStream zipInputStream)
addZipInputStream in interface DeploymentBuilderProcessApplicationDeploymentBuilder name(String name)
DeploymentBuilder
name in interface DeploymentBuilder@Deprecated ProcessApplicationDeploymentBuilder enableDuplicateFiltering()
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. If any resource of this deployment is different to the existing resources, all resources are re-deployed.
Deprecated: use DeploymentBuilder.enableDuplicateFiltering(boolean)
enableDuplicateFiltering in interface DeploymentBuilderProcessApplicationDeploymentBuilder enableDuplicateFiltering(boolean deployChangedOnly)
DeploymentBuilderdeployChangedOnly.
enableDuplicateFiltering in interface DeploymentBuilderdeployChangedOnly - determines whether only those resources should be
deployed that have changed from the previous versions of the deployment.
If false, all of the resources are re-deployed if any resource differs.ProcessApplicationDeploymentBuilder activateProcessDefinitionsOn(Date date)
DeploymentBuilder
activateProcessDefinitionsOn in interface DeploymentBuilder
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||