org.camunda.bpm.engine.impl.cmd
Class DeployCmd<T>

java.lang.Object
  extended by 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, Torben Lindhauer, Daniel Meyer
See Also:
Serialized Form

Field Summary
protected  DeploymentBuilderImpl deploymentBuilder
           
 
Constructor Summary
DeployCmd(DeploymentBuilderImpl deploymentBuilder)
           
 
Method Summary
protected  boolean deploymentsDiffer(DeploymentEntity deployment, DeploymentEntity saved)
           
 Deployment execute(CommandContext commandContext)
           
protected  ProcessApplicationRegistration registerProcessApplication(CommandContext commandContext, DeploymentEntity deployment)
           
protected  void registerWithJobExecutor(CommandContext commandContext, DeploymentEntity deployment)
           
protected  void resumePreviousVersions(CommandContext commandContext, DeploymentEntity deployment, Set<String> deploymentsToRegister)
           
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
 

Field Detail

deploymentBuilder

protected DeploymentBuilderImpl deploymentBuilder
Constructor Detail

DeployCmd

public DeployCmd(DeploymentBuilderImpl deploymentBuilder)
Method Detail

execute

public Deployment execute(CommandContext commandContext)
Specified by:
execute in interface Command<Deployment>

registerProcessApplication

protected ProcessApplicationRegistration registerProcessApplication(CommandContext commandContext,
                                                                    DeploymentEntity deployment)

resumePreviousVersions

protected void resumePreviousVersions(CommandContext commandContext,
                                      DeploymentEntity deployment,
                                      Set<String> deploymentsToRegister)

registerWithJobExecutor

protected void registerWithJobExecutor(CommandContext commandContext,
                                       DeploymentEntity deployment)

deploymentsDiffer

protected boolean deploymentsDiffer(DeploymentEntity deployment,
                                    DeploymentEntity saved)

scheduleProcessDefinitionActivation

protected void scheduleProcessDefinitionActivation(CommandContext commandContext,
                                                   DeploymentEntity deployment)


Copyright © 2014 camunda services GmbH. All Rights Reserved.