Class DeployProcessArchiveStep
- java.lang.Object
-
- org.camunda.bpm.container.impl.spi.DeploymentOperationStep
-
- org.camunda.bpm.container.impl.deployment.DeployProcessArchiveStep
-
public class DeployProcessArchiveStep extends DeploymentOperationStep
Deployment operation step responsible for deploying a process archive
- Author:
- Daniel Meyer
-
-
Field Summary
Fields Modifier and Type Field Description protected ProcessApplicationDeployment
deployment
protected URL
metaFileUrl
protected ProcessArchiveXml
processArchive
-
Constructor Summary
Constructors Constructor Description DeployProcessArchiveStep(ProcessArchiveXml parsedProcessArchive, URL url)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cancelOperationStep(DeploymentOperation operationContext)
protected void
enableResumingOfPreviousVersions(ProcessApplicationDeploymentBuilder deploymentBuilder)
protected Map<String,byte[]>
findResources(ClassLoader processApplicationClassloader, String paResourceRoot, String[] additionalResourceSuffixes)
String
getName()
protected ProcessEngine
getProcessEngine(PlatformServiceContainer serviceContainer)
protected ProcessEngine
getProcessEngine(PlatformServiceContainer serviceContainer, String defaultDeployToProcessEngineName)
protected boolean
isValidValueForResumePreviousBy(String resumePreviousBy)
void
performOperationStep(DeploymentOperation operationContext)
-
-
-
Field Detail
-
processArchive
protected final ProcessArchiveXml processArchive
-
metaFileUrl
protected URL metaFileUrl
-
deployment
protected ProcessApplicationDeployment deployment
-
-
Constructor Detail
-
DeployProcessArchiveStep
public DeployProcessArchiveStep(ProcessArchiveXml parsedProcessArchive, URL url)
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getName
in classDeploymentOperationStep
-
performOperationStep
public void performOperationStep(DeploymentOperation operationContext)
- Specified by:
performOperationStep
in classDeploymentOperationStep
-
enableResumingOfPreviousVersions
protected void enableResumingOfPreviousVersions(ProcessApplicationDeploymentBuilder deploymentBuilder) throws IllegalArgumentException
- Throws:
IllegalArgumentException
-
isValidValueForResumePreviousBy
protected boolean isValidValueForResumePreviousBy(String resumePreviousBy)
-
findResources
protected Map<String,byte[]> findResources(ClassLoader processApplicationClassloader, String paResourceRoot, String[] additionalResourceSuffixes)
-
cancelOperationStep
public void cancelOperationStep(DeploymentOperation operationContext)
- Overrides:
cancelOperationStep
in classDeploymentOperationStep
-
getProcessEngine
protected ProcessEngine getProcessEngine(PlatformServiceContainer serviceContainer)
-
getProcessEngine
protected ProcessEngine getProcessEngine(PlatformServiceContainer serviceContainer, String defaultDeployToProcessEngineName)
-
-