org.camunda.bpm.engine.impl.cmd
Class DeployCmd<T>
java.lang.Object
org.camunda.bpm.engine.impl.cmd.DeployCmd<T>
- All Implemented Interfaces:
- Serializable, Command<Deployment>
public class DeployCmd<T>
- extends Object
- implements Command<Deployment>, Serializable
- Author:
- Tom Baeyens, Joram Barrez, Thorben Lindhauer, Daniel Meyer
- See Also:
- Serialized Form
|
Method Summary |
protected void |
acquireExclusiveLock(CommandContext commandContext)
|
protected void |
deploy(DeploymentEntity deployment)
|
Deployment |
execute(CommandContext commandContext)
|
protected List<ProcessDefinitionEntity> |
getDeployedProcesses(DeploymentEntity deployment)
|
protected DeploymentEntity |
getExistingDeployment(CommandContext commandContext,
String deploymentName)
|
protected DeploymentEntity |
initDeployment()
|
protected boolean |
isBpmnResource(ResourceEntity resourceEntity)
|
protected boolean |
isCmmnResource(ResourceEntity resourceEntity)
|
protected ProcessApplicationRegistration |
registerProcessApplication(CommandContext commandContext,
DeploymentEntity deployment,
Set<String> additionalProcessKeysToRegisterFor)
|
protected void |
registerWithJobExecutor(CommandContext commandContext,
DeploymentEntity deployment)
|
protected Map<String,ResourceEntity> |
resolveResourcesToDeploy(CommandContext commandContext,
DeploymentEntity deployment)
|
protected boolean |
resourcesDiffer(ResourceEntity resource,
ResourceEntity existing)
|
protected void |
resumePreviousVersions(CommandContext commandContext,
Set<String> processDefinitionKeys,
Set<String> deploymentsToRegister)
|
protected Set<String> |
retrieveProcessKeysFromResources(Map<String,ResourceEntity> resources)
|
protected void |
scheduleProcessDefinitionActivation(CommandContext commandContext,
DeploymentEntity deployment)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
deploymentBuilder
protected DeploymentBuilderImpl deploymentBuilder
DeployCmd
public DeployCmd(DeploymentBuilderImpl deploymentBuilder)
execute
public Deployment execute(CommandContext commandContext)
- Specified by:
execute in interface Command<Deployment>
acquireExclusiveLock
protected void acquireExclusiveLock(CommandContext commandContext)
initDeployment
protected DeploymentEntity initDeployment()
resolveResourcesToDeploy
protected Map<String,ResourceEntity> resolveResourcesToDeploy(CommandContext commandContext,
DeploymentEntity deployment)
resourcesDiffer
protected boolean resourcesDiffer(ResourceEntity resource,
ResourceEntity existing)
deploy
protected void deploy(DeploymentEntity deployment)
getExistingDeployment
protected DeploymentEntity getExistingDeployment(CommandContext commandContext,
String deploymentName)
scheduleProcessDefinitionActivation
protected void scheduleProcessDefinitionActivation(CommandContext commandContext,
DeploymentEntity deployment)
registerProcessApplication
protected ProcessApplicationRegistration registerProcessApplication(CommandContext commandContext,
DeploymentEntity deployment,
Set<String> additionalProcessKeysToRegisterFor)
getDeployedProcesses
protected List<ProcessDefinitionEntity> getDeployedProcesses(DeploymentEntity deployment)
retrieveProcessKeysFromResources
protected Set<String> retrieveProcessKeysFromResources(Map<String,ResourceEntity> resources)
isBpmnResource
protected boolean isBpmnResource(ResourceEntity resourceEntity)
isCmmnResource
protected boolean isCmmnResource(ResourceEntity resourceEntity)
resumePreviousVersions
protected void resumePreviousVersions(CommandContext commandContext,
Set<String> processDefinitionKeys,
Set<String> deploymentsToRegister)
registerWithJobExecutor
protected void registerWithJobExecutor(CommandContext commandContext,
DeploymentEntity deployment)
Copyright © 2014 camunda services GmbH. All rights reserved.