public class ProcessMarshallerWriteContext extends MarshallerWriteContext
MarshallerWriteContext
that allows to pass additional
information to marshaller strategies, such as process instance id, task it, stateObjectOutputStream.PutField
Modifier and Type | Field and Description |
---|---|
static int |
STATE_ACTIVE |
static int |
STATE_COMPLETED |
clockTime, env, kBase, marshalProcessInstances, marshalWorkItems, objectMarshallingStrategyStore, out, parameterObject, sinks, strategyContext, stream, terminalTupleMap, usedStrategies, wm, writersByClass
baseWireHandle, PROTOCOL_VERSION_1, PROTOCOL_VERSION_2, SC_BLOCK_DATA, SC_ENUM, SC_EXTERNALIZABLE, SC_SERIALIZABLE, SC_WRITE_METHOD, STREAM_MAGIC, STREAM_VERSION, SUBCLASS_IMPLEMENTATION_PERMISSION, SUBSTITUTION_PERMISSION, TC_ARRAY, TC_BASE, TC_BLOCKDATA, TC_BLOCKDATALONG, TC_CLASS, TC_CLASSDESC, TC_ENDBLOCKDATA, TC_ENUM, TC_EXCEPTION, TC_LONGSTRING, TC_MAX, TC_NULL, TC_OBJECT, TC_PROXYCLASSDESC, TC_REFERENCE, TC_RESET, TC_STRING
Constructor and Description |
---|
ProcessMarshallerWriteContext(OutputStream stream,
InternalKnowledgeBase kBase,
InternalWorkingMemory wm,
Map<Integer,BaseNode> sinks,
org.kie.api.marshalling.ObjectMarshallingStrategyStore resolverStrategyFactory,
org.kie.api.runtime.Environment env) |
Modifier and Type | Method and Description |
---|---|
Long |
getProcessInstanceId() |
int |
getState() |
Long |
getTaskId() |
Long |
getWorkItemId() |
void |
setProcessInstanceId(Long processInstanceId) |
void |
setState(int state) |
void |
setTaskId(Long taskId) |
void |
setWorkItemId(Long workItemId) |
getStrategyIndex
annotateClass, annotateProxyClass, close, defaultWriteObject, drain, enableReplaceObject, flush, putFields, replaceObject, reset, useProtocolVersion, write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeClassDescriptor, writeDouble, writeFields, writeFloat, writeInt, writeLong, writeObject, writeObjectOverride, writeShort, writeStreamHeader, writeUnshared, writeUTF
public static final int STATE_ACTIVE
public static final int STATE_COMPLETED
public ProcessMarshallerWriteContext(OutputStream stream, InternalKnowledgeBase kBase, InternalWorkingMemory wm, Map<Integer,BaseNode> sinks, org.kie.api.marshalling.ObjectMarshallingStrategyStore resolverStrategyFactory, org.kie.api.runtime.Environment env) throws IOException
IOException
public Long getProcessInstanceId()
public void setProcessInstanceId(Long processInstanceId)
public Long getTaskId()
public void setTaskId(Long taskId)
public Long getWorkItemId()
public void setWorkItemId(Long workItemId)
public int getState()
public void setState(int state)
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.