Package org.jbpm.marshalling.impl
Class AbstractProcessInstanceMarshaller
- java.lang.Object
-
- org.jbpm.marshalling.impl.AbstractProcessInstanceMarshaller
-
- All Implemented Interfaces:
ProcessInstanceMarshaller
- Direct Known Subclasses:
RuleFlowProcessInstanceMarshaller
public abstract class AbstractProcessInstanceMarshaller extends Object implements ProcessInstanceMarshaller
Default implementation of a process instance marshaller.
-
-
Constructor Summary
Constructors Constructor Description AbstractProcessInstanceMarshaller()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract WorkflowProcessInstanceImplcreateProcessInstance()org.kie.api.runtime.process.NodeInstancereadNodeInstance(org.drools.core.marshalling.impl.MarshallerReaderContext context, org.kie.api.runtime.process.NodeInstanceContainer nodeInstanceContainer, org.kie.api.runtime.process.WorkflowProcessInstance processInstance)protected NodeInstanceImplreadNodeInstanceContent(int nodeType, org.drools.core.marshalling.impl.MarshallerReaderContext context, org.kie.api.runtime.process.WorkflowProcessInstance processInstance)org.kie.api.runtime.process.ProcessInstancereadProcessInstance(org.drools.core.marshalling.impl.MarshallerReaderContext context)ObjectwriteNodeInstance(org.drools.core.marshalling.impl.MarshallerWriteContext context, org.kie.api.runtime.process.NodeInstance nodeInstance)protected voidwriteNodeInstanceContent(org.drools.core.marshalling.impl.MarshallerWriteContext stream, org.kie.api.runtime.process.NodeInstance nodeInstance, org.drools.core.marshalling.impl.MarshallerWriteContext context)ObjectwriteProcessInstance(org.drools.core.marshalling.impl.MarshallerWriteContext context, org.kie.api.runtime.process.ProcessInstance processInstance)
-
-
-
Method Detail
-
writeProcessInstance
public Object writeProcessInstance(org.drools.core.marshalling.impl.MarshallerWriteContext context, org.kie.api.runtime.process.ProcessInstance processInstance) throws IOException
- Specified by:
writeProcessInstancein interfaceProcessInstanceMarshaller- Throws:
IOException
-
writeNodeInstance
public Object writeNodeInstance(org.drools.core.marshalling.impl.MarshallerWriteContext context, org.kie.api.runtime.process.NodeInstance nodeInstance) throws IOException
- Specified by:
writeNodeInstancein interfaceProcessInstanceMarshaller- Throws:
IOException
-
writeNodeInstanceContent
protected void writeNodeInstanceContent(org.drools.core.marshalling.impl.MarshallerWriteContext stream, org.kie.api.runtime.process.NodeInstance nodeInstance, org.drools.core.marshalling.impl.MarshallerWriteContext context) throws IOException- Throws:
IOException
-
readProcessInstance
public org.kie.api.runtime.process.ProcessInstance readProcessInstance(org.drools.core.marshalling.impl.MarshallerReaderContext context) throws IOException- Specified by:
readProcessInstancein interfaceProcessInstanceMarshaller- Throws:
IOException
-
createProcessInstance
protected abstract WorkflowProcessInstanceImpl createProcessInstance()
-
readNodeInstance
public org.kie.api.runtime.process.NodeInstance readNodeInstance(org.drools.core.marshalling.impl.MarshallerReaderContext context, org.kie.api.runtime.process.NodeInstanceContainer nodeInstanceContainer, org.kie.api.runtime.process.WorkflowProcessInstance processInstance) throws IOException- Specified by:
readNodeInstancein interfaceProcessInstanceMarshaller- Throws:
IOException
-
readNodeInstanceContent
protected NodeInstanceImpl readNodeInstanceContent(int nodeType, org.drools.core.marshalling.impl.MarshallerReaderContext context, org.kie.api.runtime.process.WorkflowProcessInstance processInstance) throws IOException
- Throws:
IOException
-
-