|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.camunda.bpm.engine.impl.repository.DeploymentBuilderImpl
org.camunda.bpm.engine.impl.repository.ProcessApplicationDeploymentBuilderImpl
public class ProcessApplicationDeploymentBuilderImpl
| Field Summary | |
|---|---|
protected boolean |
isResumePreviousVersions
|
protected ProcessApplicationReference |
processApplicationReference
|
protected String |
resumePreviousVersionsBy
|
| Fields inherited from class org.camunda.bpm.engine.impl.repository.DeploymentBuilderImpl |
|---|
deployChangedOnly, deployment, deploymentResourcesById, deploymentResourcesByName, deployments, isDuplicateFilterEnabled, nameFromDeployment, processDefinitionsActivationDate, repositoryService |
| Constructor Summary | |
|---|---|
ProcessApplicationDeploymentBuilderImpl(RepositoryServiceImpl repositoryService,
ProcessApplicationReference reference)
|
|
| Method Summary | |
|---|---|
ProcessApplicationDeploymentBuilderImpl |
activateProcessDefinitionsOn(Date date)
Sets the date on which the process definitions contained in this deployment will be activated. |
ProcessApplicationDeploymentBuilderImpl |
addClasspathResource(String resource)
|
ProcessApplicationDeploymentBuilderImpl |
addDeploymentResourceById(String deploymentId,
String resourceId)
A given resource specified by id and deployment id will be added to the new deployment to re-deploy the given resource. |
ProcessApplicationDeploymentBuilderImpl |
addDeploymentResourceByName(String deploymentId,
String resourceName)
A given resource specified by name and deployment id will be added to the new deployment to re-deploy the given resource. |
ProcessApplicationDeploymentBuilderImpl |
addDeploymentResources(String deploymentId)
All existing resources contained by the given deployment will be added to the new deployment to re-deploy them. |
ProcessApplicationDeploymentBuilderImpl |
addDeploymentResourcesById(String deploymentId,
List<String> resourceIds)
All given resources specified by id and deployment id will be added to the new deployment to re-deploy the given resource. |
ProcessApplicationDeploymentBuilderImpl |
addDeploymentResourcesByName(String deploymentId,
List<String> resourceNames)
All given resources specified by name and deployment id will be added to the new deployment to re-deploy the given resource. |
ProcessApplicationDeploymentBuilderImpl |
addInputStream(String resourceName,
InputStream inputStream)
|
ProcessApplicationDeploymentBuilderImpl |
addModelInstance(String resourceName,
org.camunda.bpm.model.bpmn.BpmnModelInstance modelInstance)
|
ProcessApplicationDeploymentBuilderImpl |
addString(String resourceName,
String text)
|
ProcessApplicationDeploymentBuilderImpl |
addZipInputStream(ZipInputStream zipInputStream)
|
ProcessApplicationDeployment |
deploy()
Deploys all provided sources to the process engine. |
ProcessApplicationDeploymentBuilderImpl |
enableDuplicateFiltering()
If set, this deployment will be compared to any previous deployment. |
ProcessApplicationDeploymentBuilderImpl |
enableDuplicateFiltering(boolean deployChangedOnly)
Check the resources for duplicates in the set of previous deployments with same deployment source. |
ProcessApplicationReference |
getProcessApplicationReference()
|
String |
getResumePreviousVersionsBy()
|
boolean |
isResumePreviousVersions()
|
ProcessApplicationDeploymentBuilderImpl |
name(String name)
Gives the deployment the given name. |
ProcessApplicationDeploymentBuilderImpl |
nameFromDeployment(String deploymentId)
Sets the deployment id to retrieve the deployment name from it. |
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. |
ProcessApplicationDeploymentBuilderImpl |
source(String source)
Sets the source of a deployment. |
| Methods inherited from class org.camunda.bpm.engine.impl.repository.DeploymentBuilderImpl |
|---|
getDeployment, getDeploymentResourcesById, getDeploymentResourcesByName, getDeployments, getNameFromDeployment, getProcessDefinitionsActivationDate, getResourceNames, isDeployChangedOnly, isDuplicateFilterEnabled |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.camunda.bpm.engine.repository.DeploymentBuilder |
|---|
getResourceNames |
| Field Detail |
|---|
protected final ProcessApplicationReference processApplicationReference
protected boolean isResumePreviousVersions
protected String resumePreviousVersionsBy
| Constructor Detail |
|---|
public ProcessApplicationDeploymentBuilderImpl(RepositoryServiceImpl repositoryService,
ProcessApplicationReference reference)
| Method Detail |
|---|
public ProcessApplicationDeploymentBuilder resumePreviousVersions()
ProcessApplicationDeploymentBuilderIf this method is called, additional registrations will be created for previous versions of the deployment.
resumePreviousVersions in interface ProcessApplicationDeploymentBuilderpublic ProcessApplicationDeploymentBuilder resumePreviousVersionsBy(String resumePreviousVersionsBy)
ProcessApplicationDeploymentBuilderProcessApplicationDeploymentBuilder.resumePreviousVersions() is set.
resumePreviousVersionsBy in interface ProcessApplicationDeploymentBuilderResumePreviousBy,
ProcessApplicationDeploymentBuilder.resumePreviousVersions()public ProcessApplicationDeployment deploy()
DeploymentBuilder
deploy in interface DeploymentBuilderdeploy in interface ProcessApplicationDeploymentBuilderdeploy in class DeploymentBuilderImplpublic ProcessApplicationDeploymentBuilderImpl activateProcessDefinitionsOn(Date date)
DeploymentBuilder
activateProcessDefinitionsOn in interface DeploymentBuilderactivateProcessDefinitionsOn in interface ProcessApplicationDeploymentBuilderactivateProcessDefinitionsOn in class DeploymentBuilderImpl
public ProcessApplicationDeploymentBuilderImpl addInputStream(String resourceName,
InputStream inputStream)
addInputStream in interface DeploymentBuilderaddInputStream in interface ProcessApplicationDeploymentBuilderaddInputStream in class DeploymentBuilderImplpublic ProcessApplicationDeploymentBuilderImpl addClasspathResource(String resource)
addClasspathResource in interface DeploymentBuilderaddClasspathResource in interface ProcessApplicationDeploymentBuilderaddClasspathResource in class DeploymentBuilderImpl
public ProcessApplicationDeploymentBuilderImpl addString(String resourceName,
String text)
addString in interface DeploymentBuilderaddString in interface ProcessApplicationDeploymentBuilderaddString in class DeploymentBuilderImpl
public ProcessApplicationDeploymentBuilderImpl addModelInstance(String resourceName,
org.camunda.bpm.model.bpmn.BpmnModelInstance modelInstance)
addModelInstance in interface DeploymentBuilderaddModelInstance in interface ProcessApplicationDeploymentBuilderaddModelInstance in class DeploymentBuilderImplpublic ProcessApplicationDeploymentBuilderImpl addZipInputStream(ZipInputStream zipInputStream)
addZipInputStream in interface DeploymentBuilderaddZipInputStream in interface ProcessApplicationDeploymentBuilderaddZipInputStream in class DeploymentBuilderImplpublic ProcessApplicationDeploymentBuilderImpl name(String name)
DeploymentBuilder
name in interface DeploymentBuildername in interface ProcessApplicationDeploymentBuildername in class DeploymentBuilderImplpublic ProcessApplicationDeploymentBuilderImpl nameFromDeployment(String deploymentId)
DeploymentBuilder
nameFromDeployment in interface DeploymentBuildernameFromDeployment in interface ProcessApplicationDeploymentBuildernameFromDeployment in class DeploymentBuilderImplpublic ProcessApplicationDeploymentBuilderImpl source(String source)
DeploymentBuilderSets the source of a deployment.
Furthermore if duplicate check of deployment resources is enabled (by calling
DeploymentBuilder.enableDuplicateFiltering(boolean)) then only previous deployments
with the same given source are considered to perform the duplicate check.
source in interface DeploymentBuildersource in interface ProcessApplicationDeploymentBuildersource in class DeploymentBuilderImplpublic ProcessApplicationDeploymentBuilderImpl 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 DeploymentBuilderenableDuplicateFiltering in interface ProcessApplicationDeploymentBuilderenableDuplicateFiltering in class DeploymentBuilderImplpublic ProcessApplicationDeploymentBuilderImpl enableDuplicateFiltering(boolean deployChangedOnly)
DeploymentBuilderdeployChangedOnly.
enableDuplicateFiltering in interface DeploymentBuilderenableDuplicateFiltering in interface ProcessApplicationDeploymentBuilderenableDuplicateFiltering in class DeploymentBuilderImpldeployChangedOnly - 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.public ProcessApplicationDeploymentBuilderImpl addDeploymentResources(String deploymentId)
DeploymentBuilder
addDeploymentResources in interface DeploymentBuilderaddDeploymentResources in interface ProcessApplicationDeploymentBuilderaddDeploymentResources in class DeploymentBuilderImpl
public ProcessApplicationDeploymentBuilderImpl addDeploymentResourceById(String deploymentId,
String resourceId)
DeploymentBuilder
addDeploymentResourceById in interface DeploymentBuilderaddDeploymentResourceById in interface ProcessApplicationDeploymentBuilderaddDeploymentResourceById in class DeploymentBuilderImpl
public ProcessApplicationDeploymentBuilderImpl addDeploymentResourcesById(String deploymentId,
List<String> resourceIds)
DeploymentBuilder
addDeploymentResourcesById in interface DeploymentBuilderaddDeploymentResourcesById in interface ProcessApplicationDeploymentBuilderaddDeploymentResourcesById in class DeploymentBuilderImpl
public ProcessApplicationDeploymentBuilderImpl addDeploymentResourceByName(String deploymentId,
String resourceName)
DeploymentBuilder
addDeploymentResourceByName in interface DeploymentBuilderaddDeploymentResourceByName in interface ProcessApplicationDeploymentBuilderaddDeploymentResourceByName in class DeploymentBuilderImpl
public ProcessApplicationDeploymentBuilderImpl addDeploymentResourcesByName(String deploymentId,
List<String> resourceNames)
DeploymentBuilder
addDeploymentResourcesByName in interface DeploymentBuilderaddDeploymentResourcesByName in interface ProcessApplicationDeploymentBuilderaddDeploymentResourcesByName in class DeploymentBuilderImplpublic boolean isResumePreviousVersions()
public ProcessApplicationReference getProcessApplicationReference()
public String getResumePreviousVersionsBy()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||