public class ProcessApplicationDeploymentBuilderImpl extends DeploymentBuilderImpl implements ProcessApplicationDeploymentBuilder
Modifier and Type | Field and Description |
---|---|
protected boolean |
isResumePreviousVersions |
protected ProcessApplicationReference |
processApplicationReference |
deployChangedOnly, deployment, isDuplicateFilterEnabled, processDefinitionsActivationDate, repositoryService
Constructor and Description |
---|
ProcessApplicationDeploymentBuilderImpl(RepositoryServiceImpl repositoryService,
ProcessApplicationReference reference) |
getDeployment, getProcessDefinitionsActivationDate, getResourceNames, isDeployChangedOnly, isDuplicateFilterEnabled
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getResourceNames
protected final ProcessApplicationReference processApplicationReference
protected boolean isResumePreviousVersions
public ProcessApplicationDeploymentBuilderImpl(RepositoryServiceImpl repositoryService, ProcessApplicationReference reference)
public ProcessApplicationDeploymentBuilder resumePreviousVersions()
ProcessApplicationDeploymentBuilder
If this method is called, additional registrations will be created for previous versions of the deployment.
resumePreviousVersions
in interface ProcessApplicationDeploymentBuilder
public ProcessApplicationDeployment deploy()
DeploymentBuilder
deploy
in interface DeploymentBuilder
deploy
in interface ProcessApplicationDeploymentBuilder
deploy
in class DeploymentBuilderImpl
public ProcessApplicationDeploymentBuilderImpl activateProcessDefinitionsOn(Date date)
DeploymentBuilder
activateProcessDefinitionsOn
in interface DeploymentBuilder
activateProcessDefinitionsOn
in interface ProcessApplicationDeploymentBuilder
activateProcessDefinitionsOn
in class DeploymentBuilderImpl
public ProcessApplicationDeploymentBuilderImpl addInputStream(String resourceName, InputStream inputStream)
addInputStream
in interface DeploymentBuilder
addInputStream
in interface ProcessApplicationDeploymentBuilder
addInputStream
in class DeploymentBuilderImpl
public ProcessApplicationDeploymentBuilderImpl addClasspathResource(String resource)
addClasspathResource
in interface DeploymentBuilder
addClasspathResource
in interface ProcessApplicationDeploymentBuilder
addClasspathResource
in class DeploymentBuilderImpl
public ProcessApplicationDeploymentBuilderImpl addString(String resourceName, String text)
addString
in interface DeploymentBuilder
addString
in interface ProcessApplicationDeploymentBuilder
addString
in class DeploymentBuilderImpl
public ProcessApplicationDeploymentBuilderImpl addModelInstance(String resourceName, BpmnModelInstance modelInstance)
addModelInstance
in interface DeploymentBuilder
addModelInstance
in interface ProcessApplicationDeploymentBuilder
addModelInstance
in class DeploymentBuilderImpl
public ProcessApplicationDeploymentBuilderImpl addZipInputStream(ZipInputStream zipInputStream)
addZipInputStream
in interface DeploymentBuilder
addZipInputStream
in interface ProcessApplicationDeploymentBuilder
addZipInputStream
in class DeploymentBuilderImpl
public ProcessApplicationDeploymentBuilderImpl name(String name)
DeploymentBuilder
name
in interface DeploymentBuilder
name
in interface ProcessApplicationDeploymentBuilder
name
in class DeploymentBuilderImpl
public ProcessApplicationDeploymentBuilderImpl enableDuplicateFiltering()
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. 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 DeploymentBuilder
enableDuplicateFiltering
in interface ProcessApplicationDeploymentBuilder
enableDuplicateFiltering
in class DeploymentBuilderImpl
public ProcessApplicationDeploymentBuilderImpl enableDuplicateFiltering(boolean deployChangedOnly)
DeploymentBuilder
deployChangedOnly
.enableDuplicateFiltering
in interface DeploymentBuilder
enableDuplicateFiltering
in interface ProcessApplicationDeploymentBuilder
enableDuplicateFiltering
in class DeploymentBuilderImpl
deployChangedOnly
- 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 boolean isResumePreviousVersions()
public ProcessApplicationReference getProcessApplicationReference()
Copyright © 2018. All rights reserved.