public interface ProcessApplicationDeploymentBuilder extends DeploymentBuilder
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.
| Modifier and Type | Method and Description |
|---|---|
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 |
addString(String resourceName,
String text) |
ProcessApplicationDeploymentBuilder |
addZipInputStream(ZipInputStream zipInputStream) |
ProcessApplicationDeployment |
deploy()
Deploys all provided sources to the process engine.
|
ProcessApplicationDeploymentBuilder |
enableDuplicateFiltering()
If set, this deployment will be compared to any previous deployment.
|
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.
|
getResourceNamesProcessApplicationDeploymentBuilder resumePreviousVersions()
If this method is called, additional registrations will be created for previous versions of the deployment.
ProcessApplicationDeployment deploy()
DeploymentBuilderdeploy in interface DeploymentBuilderProcessApplicationDeploymentBuilder addInputStream(String resourceName, InputStream inputStream)
addInputStream in interface DeploymentBuilderProcessApplicationDeploymentBuilder addClasspathResource(String resource)
addClasspathResource in interface DeploymentBuilderProcessApplicationDeploymentBuilder addString(String resourceName, String text)
addString in interface DeploymentBuilderProcessApplicationDeploymentBuilder addZipInputStream(ZipInputStream zipInputStream)
addZipInputStream in interface DeploymentBuilderProcessApplicationDeploymentBuilder name(String name)
DeploymentBuildername in interface DeploymentBuilderProcessApplicationDeploymentBuilder enableDuplicateFiltering()
DeploymentBuilderenableDuplicateFiltering in interface DeploymentBuilderProcessApplicationDeploymentBuilder activateProcessDefinitionsOn(Date date)
DeploymentBuilderactivateProcessDefinitionsOn in interface DeploymentBuilderCopyright © 2015. All rights reserved.