public class ProtobufOutputMarshaller extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ProtobufOutputMarshaller.ActivationsSorter |
static class |
ProtobufOutputMarshaller.EqualityKeySorter |
static class |
ProtobufOutputMarshaller.HandleSorter |
Constructor and Description |
---|
ProtobufOutputMarshaller() |
Modifier and Type | Method and Description |
---|---|
static InternalFactHandle[] |
orderFacts(List<InternalFactHandle> handlesList) |
static InternalFactHandle[] |
orderFacts(ObjectStore objectStore) |
static void |
writeActionQueue(MarshallerWriteContext context,
ProtobufMessages.RuleData.Builder _session) |
static <M extends ModedAssertion<M>> |
writeActivation(MarshallerWriteContext context,
AgendaItem<M> agendaItem) |
static void |
writeSession(MarshallerWriteContext context) |
static ProtobufMessages.Trigger |
writeTrigger(Trigger trigger,
MarshallerWriteContext outCtx) |
static void |
writeTruthMaintenanceSystem(MarshallerWriteContext context,
org.kie.api.runtime.rule.EntryPoint wmep,
ProtobufMessages.EntryPoint.Builder _epb) |
static ProtobufMessages.Tuple |
writeTuple(LeftTuple tuple) |
static void |
writeWorkItem(MarshallerWriteContext context,
WorkItem workItem) |
public static void writeSession(MarshallerWriteContext context) throws IOException
IOException
public static void writeActionQueue(MarshallerWriteContext context, ProtobufMessages.RuleData.Builder _session) throws IOException
IOException
public static void writeTruthMaintenanceSystem(MarshallerWriteContext context, org.kie.api.runtime.rule.EntryPoint wmep, ProtobufMessages.EntryPoint.Builder _epb) throws IOException
IOException
public static InternalFactHandle[] orderFacts(ObjectStore objectStore)
public static InternalFactHandle[] orderFacts(List<InternalFactHandle> handlesList)
public static <M extends ModedAssertion<M>> ProtobufMessages.Activation writeActivation(MarshallerWriteContext context, AgendaItem<M> agendaItem)
public static ProtobufMessages.Tuple writeTuple(LeftTuple tuple)
public static ProtobufMessages.Trigger writeTrigger(Trigger trigger, MarshallerWriteContext outCtx)
public static void writeWorkItem(MarshallerWriteContext context, WorkItem workItem)
Copyright © 2001–2015 JBoss by Red Hat. All rights reserved.