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 java.net.URL
metaFileUrl
protected ProcessArchiveXml
processArchive
-
Constructor Summary
Constructors Constructor Description DeployProcessArchiveStep(ProcessArchiveXml parsedProcessArchive, java.net.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 java.util.Map<java.lang.String,byte[]>
findResources(java.lang.ClassLoader processApplicationClassloader, java.lang.String paResourceRoot, java.lang.String[] additionalResourceSuffixes)
java.lang.String
getName()
protected ProcessEngine
getProcessEngine(PlatformServiceContainer serviceContainer)
protected ProcessEngine
getProcessEngine(PlatformServiceContainer serviceContainer, java.lang.String defaultDeployToProcessEngineName)
protected boolean
isValidValueForResumePreviousBy(java.lang.String resumePreviousBy)
void
performOperationStep(DeploymentOperation operationContext)
-
-
-
Field Detail
-
processArchive
protected final ProcessArchiveXml processArchive
-
metaFileUrl
protected java.net.URL metaFileUrl
-
deployment
protected ProcessApplicationDeployment deployment
-
-
Constructor Detail
-
DeployProcessArchiveStep
public DeployProcessArchiveStep(ProcessArchiveXml parsedProcessArchive, java.net.URL url)
-
-
Method Detail
-
getName
public java.lang.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 java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
-
isValidValueForResumePreviousBy
protected boolean isValidValueForResumePreviousBy(java.lang.String resumePreviousBy)
-
findResources
protected java.util.Map<java.lang.String,byte[]> findResources(java.lang.ClassLoader processApplicationClassloader, java.lang.String paResourceRoot, java.lang.String[] additionalResourceSuffixes)
-
cancelOperationStep
public void cancelOperationStep(DeploymentOperation operationContext)
- Overrides:
cancelOperationStep
in classDeploymentOperationStep
-
getProcessEngine
protected ProcessEngine getProcessEngine(PlatformServiceContainer serviceContainer)
-
getProcessEngine
protected ProcessEngine getProcessEngine(PlatformServiceContainer serviceContainer, java.lang.String defaultDeployToProcessEngineName)
-
-