org.camunda.bpm.engine.impl.cmd
Class SetExternalTaskPriorityCmd

java.lang.Object
  extended by org.camunda.bpm.engine.impl.cmd.ExternalTaskCmd
      extended by org.camunda.bpm.engine.impl.cmd.SetExternalTaskPriorityCmd
All Implemented Interfaces:
Command<Void>

public class SetExternalTaskPriorityCmd
extends ExternalTaskCmd

Represents the command to set the priority of an existing external task.

Author:
Christopher Zell

Field Summary
protected  long priority
          The priority that should set on the external task.
 
Fields inherited from class org.camunda.bpm.engine.impl.cmd.ExternalTaskCmd
externalTaskId
 
Constructor Summary
SetExternalTaskPriorityCmd(String externalTaskId, long priority)
           
 
Method Summary
protected  void execute(ExternalTaskEntity externalTask)
          Executes the specific external task commands, which belongs to the current sub class.
protected  void validateInput()
          Validates the current input of the command.
 
Methods inherited from class org.camunda.bpm.engine.impl.cmd.ExternalTaskCmd
execute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

priority

protected long priority
The priority that should set on the external task.

Constructor Detail

SetExternalTaskPriorityCmd

public SetExternalTaskPriorityCmd(String externalTaskId,
                                  long priority)
Method Detail

execute

protected void execute(ExternalTaskEntity externalTask)
Description copied from class: ExternalTaskCmd
Executes the specific external task commands, which belongs to the current sub class.

Specified by:
execute in class ExternalTaskCmd
Parameters:
externalTask - the external task which is used for the command execution

validateInput

protected void validateInput()
Description copied from class: ExternalTaskCmd
Validates the current input of the command.

Specified by:
validateInput in class ExternalTaskCmd


Copyright © 2016 camunda services GmbH. All rights reserved.