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 ProcessApplicationDeploymentdeploymentprotected java.net.URLmetaFileUrlprotected ProcessArchiveXmlprocessArchive
-
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 voidcancelOperationStep(DeploymentOperation operationContext)protected voidenableResumingOfPreviousVersions(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.StringgetName()protected ProcessEnginegetProcessEngine(PlatformServiceContainer serviceContainer)protected ProcessEnginegetProcessEngine(PlatformServiceContainer serviceContainer, java.lang.String defaultDeployToProcessEngineName)protected booleanisValidValueForResumePreviousBy(java.lang.String resumePreviousBy)voidperformOperationStep(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:
getNamein classDeploymentOperationStep
-
performOperationStep
public void performOperationStep(DeploymentOperation operationContext)
- Specified by:
performOperationStepin 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:
cancelOperationStepin classDeploymentOperationStep
-
getProcessEngine
protected ProcessEngine getProcessEngine(PlatformServiceContainer serviceContainer)
-
getProcessEngine
protected ProcessEngine getProcessEngine(PlatformServiceContainer serviceContainer, java.lang.String defaultDeployToProcessEngineName)
-
-