org.camunda.bpm.engine.impl.json
Class ModificationCmdJsonConverter

java.lang.Object
  extended by org.camunda.bpm.engine.impl.json.JsonObjectConverter<AbstractProcessInstanceModificationCommand>
      extended by org.camunda.bpm.engine.impl.json.ModificationCmdJsonConverter

public class ModificationCmdJsonConverter
extends JsonObjectConverter<AbstractProcessInstanceModificationCommand>


Field Summary
static String CANCEL_ALL
           
static String CANCEL_CURRENT
           
static ModificationCmdJsonConverter INSTANCE
           
static String START_AFTER
           
static String START_BEFORE
           
static String START_TRANSITION
           
 
Constructor Summary
ModificationCmdJsonConverter()
           
 
Method Summary
 JSONObject toJsonObject(AbstractProcessInstanceModificationCommand command)
           
 AbstractProcessInstanceModificationCommand toObject(JSONObject json)
           
 
Methods inherited from class org.camunda.bpm.engine.impl.json.JsonObjectConverter
toJson
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final ModificationCmdJsonConverter INSTANCE

START_BEFORE

public static final String START_BEFORE
See Also:
Constant Field Values

START_AFTER

public static final String START_AFTER
See Also:
Constant Field Values

START_TRANSITION

public static final String START_TRANSITION
See Also:
Constant Field Values

CANCEL_ALL

public static final String CANCEL_ALL
See Also:
Constant Field Values

CANCEL_CURRENT

public static final String CANCEL_CURRENT
See Also:
Constant Field Values
Constructor Detail

ModificationCmdJsonConverter

public ModificationCmdJsonConverter()
Method Detail

toJsonObject

public JSONObject toJsonObject(AbstractProcessInstanceModificationCommand command)
Specified by:
toJsonObject in class JsonObjectConverter<AbstractProcessInstanceModificationCommand>

toObject

public AbstractProcessInstanceModificationCommand toObject(JSONObject json)
Specified by:
toObject in class JsonObjectConverter<AbstractProcessInstanceModificationCommand>


Copyright © 2018 camunda services GmbH. All rights reserved.