public class ProtobufProcessMarshaller extends Object implements org.drools.core.marshalling.impl.ProcessMarshaller
Constructor and Description |
---|
ProtobufProcessMarshaller() |
Modifier and Type | Method and Description |
---|---|
void |
init(org.drools.core.marshalling.impl.MarshallerReaderContext context) |
static JBPMMessages.Variable |
marshallVariable(org.drools.core.marshalling.impl.MarshallerWriteContext context,
String name,
Object value) |
static JBPMMessages.VariableContainer |
marshallVariablesContainer(org.drools.core.marshalling.impl.MarshallerWriteContext context,
Map<String,Object> variables) |
static JBPMMessages.Variable |
marshallVariablesMap(org.drools.core.marshalling.impl.MarshallerWriteContext context,
Map<String,Object> variables) |
List<org.kie.api.runtime.process.ProcessInstance> |
readProcessInstances(org.drools.core.marshalling.impl.MarshallerReaderContext context) |
void |
readProcessTimers(org.drools.core.marshalling.impl.MarshallerReaderContext inCtx) |
static TimerInstance |
readTimer(org.drools.core.marshalling.impl.MarshallerReaderContext context,
JBPMMessages.ProcessTimer.TimerInstance _timer) |
org.drools.core.process.instance.WorkItem |
readWorkItem(org.drools.core.marshalling.impl.MarshallerReaderContext context) |
static org.kie.api.runtime.process.WorkItem |
readWorkItem(org.drools.core.marshalling.impl.MarshallerReaderContext context,
JBPMMessages.WorkItem _workItem) |
static org.kie.api.runtime.process.WorkItem |
readWorkItem(org.drools.core.marshalling.impl.MarshallerReaderContext context,
JBPMMessages.WorkItem _workItem,
boolean includeVariables) |
void |
readWorkItems(org.drools.core.marshalling.impl.MarshallerReaderContext context) |
static void |
setWorkItemVarsPersistence(boolean turnOn) |
static Map<String,Object> |
unmarshallVariableContainerValue(org.drools.core.marshalling.impl.MarshallerReaderContext context,
JBPMMessages.VariableContainer _variableContiner) |
static Object |
unmarshallVariableValue(org.drools.core.marshalling.impl.MarshallerReaderContext context,
JBPMMessages.Variable _variable) |
void |
writeProcessInstances(org.drools.core.marshalling.impl.MarshallerWriteContext context) |
void |
writeProcessTimers(org.drools.core.marshalling.impl.MarshallerWriteContext outCtx) |
static JBPMMessages.ProcessTimer.TimerInstance |
writeTimer(org.drools.core.marshalling.impl.MarshallerWriteContext context,
TimerInstance timer) |
static JBPMMessages.WorkItem |
writeWorkItem(org.drools.core.marshalling.impl.MarshallerWriteContext context,
org.kie.api.runtime.process.WorkItem workItem) |
void |
writeWorkItem(org.drools.core.marshalling.impl.MarshallerWriteContext context,
org.drools.core.process.instance.WorkItem workItem) |
static JBPMMessages.WorkItem |
writeWorkItem(org.drools.core.marshalling.impl.MarshallerWriteContext context,
org.kie.api.runtime.process.WorkItem workItem,
boolean includeVariables) |
void |
writeWorkItems(org.drools.core.marshalling.impl.MarshallerWriteContext context) |
public static void setWorkItemVarsPersistence(boolean turnOn)
public void writeProcessInstances(org.drools.core.marshalling.impl.MarshallerWriteContext context) throws IOException
writeProcessInstances
in interface org.drools.core.marshalling.impl.ProcessMarshaller
IOException
public void writeProcessTimers(org.drools.core.marshalling.impl.MarshallerWriteContext outCtx) throws IOException
writeProcessTimers
in interface org.drools.core.marshalling.impl.ProcessMarshaller
IOException
public void writeWorkItems(org.drools.core.marshalling.impl.MarshallerWriteContext context) throws IOException
writeWorkItems
in interface org.drools.core.marshalling.impl.ProcessMarshaller
IOException
public static JBPMMessages.WorkItem writeWorkItem(org.drools.core.marshalling.impl.MarshallerWriteContext context, org.kie.api.runtime.process.WorkItem workItem) throws IOException
IOException
public List<org.kie.api.runtime.process.ProcessInstance> readProcessInstances(org.drools.core.marshalling.impl.MarshallerReaderContext context) throws IOException
readProcessInstances
in interface org.drools.core.marshalling.impl.ProcessMarshaller
IOException
public void readWorkItems(org.drools.core.marshalling.impl.MarshallerReaderContext context) throws IOException
readWorkItems
in interface org.drools.core.marshalling.impl.ProcessMarshaller
IOException
public void readProcessTimers(org.drools.core.marshalling.impl.MarshallerReaderContext inCtx) throws IOException, ClassNotFoundException
readProcessTimers
in interface org.drools.core.marshalling.impl.ProcessMarshaller
IOException
ClassNotFoundException
public static JBPMMessages.ProcessTimer.TimerInstance writeTimer(org.drools.core.marshalling.impl.MarshallerWriteContext context, TimerInstance timer)
public static TimerInstance readTimer(org.drools.core.marshalling.impl.MarshallerReaderContext context, JBPMMessages.ProcessTimer.TimerInstance _timer)
public static JBPMMessages.WorkItem writeWorkItem(org.drools.core.marshalling.impl.MarshallerWriteContext context, org.kie.api.runtime.process.WorkItem workItem, boolean includeVariables) throws IOException
IOException
public static org.kie.api.runtime.process.WorkItem readWorkItem(org.drools.core.marshalling.impl.MarshallerReaderContext context, JBPMMessages.WorkItem _workItem) throws IOException
IOException
public static org.kie.api.runtime.process.WorkItem readWorkItem(org.drools.core.marshalling.impl.MarshallerReaderContext context, JBPMMessages.WorkItem _workItem, boolean includeVariables) throws IOException
IOException
public static JBPMMessages.Variable marshallVariable(org.drools.core.marshalling.impl.MarshallerWriteContext context, String name, Object value) throws IOException
IOException
public static JBPMMessages.Variable marshallVariablesMap(org.drools.core.marshalling.impl.MarshallerWriteContext context, Map<String,Object> variables) throws IOException
IOException
public static JBPMMessages.VariableContainer marshallVariablesContainer(org.drools.core.marshalling.impl.MarshallerWriteContext context, Map<String,Object> variables) throws IOException
IOException
public static Object unmarshallVariableValue(org.drools.core.marshalling.impl.MarshallerReaderContext context, JBPMMessages.Variable _variable) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
public static Map<String,Object> unmarshallVariableContainerValue(org.drools.core.marshalling.impl.MarshallerReaderContext context, JBPMMessages.VariableContainer _variableContiner) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
public void init(org.drools.core.marshalling.impl.MarshallerReaderContext context)
init
in interface org.drools.core.marshalling.impl.ProcessMarshaller
public void writeWorkItem(org.drools.core.marshalling.impl.MarshallerWriteContext context, org.drools.core.process.instance.WorkItem workItem)
writeWorkItem
in interface org.drools.core.marshalling.impl.ProcessMarshaller
public org.drools.core.process.instance.WorkItem readWorkItem(org.drools.core.marshalling.impl.MarshallerReaderContext context)
readWorkItem
in interface org.drools.core.marshalling.impl.ProcessMarshaller
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.