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

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

public class UpdateProcessDefinitionHistoryTimeToLiveCmd
extends Object
implements Command<Void>, Serializable

Author:
Svetlana Dorokhova
See Also:
Serialized Form

Field Summary
protected  Integer historyTimeToLive
           
protected  String processDefinitionId
           
 
Constructor Summary
UpdateProcessDefinitionHistoryTimeToLiveCmd(String processDefinitionId, Integer historyTimeToLive)
           
 
Method Summary
protected  void checkAuthorization(CommandContext commandContext)
           
 Void execute(CommandContext commandContext)
           
protected  void logUserOperation(CommandContext commandContext, ProcessDefinitionEntity processDefinitionEntity)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

processDefinitionId

protected String processDefinitionId

historyTimeToLive

protected Integer historyTimeToLive
Constructor Detail

UpdateProcessDefinitionHistoryTimeToLiveCmd

public UpdateProcessDefinitionHistoryTimeToLiveCmd(String processDefinitionId,
                                                   Integer historyTimeToLive)
Method Detail

execute

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

checkAuthorization

protected void checkAuthorization(CommandContext commandContext)

logUserOperation

protected void logUserOperation(CommandContext commandContext,
                                ProcessDefinitionEntity processDefinitionEntity)


Copyright © 2017 camunda services GmbH. All rights reserved.