org.jbpm.designer.bpmn2.impl
public class Bpmn2JsonUnmarshaller extends Object
Modifier and Type | Field and Description |
---|---|
static String |
defaultBgColor |
static String |
defaultBrColor |
static String |
defaultFontColor |
static String |
defaultRelationshipType |
static String |
defaultSequenceflowColor |
Constructor and Description |
---|
Bpmn2JsonUnmarshaller() |
Modifier and Type | Method and Description |
---|---|
void |
addSimulation(org.eclipse.bpmn2.Definitions def) |
protected void |
applyAdHocSubProcessProperties(org.eclipse.bpmn2.AdHocSubProcess ahsp,
Map<String,String> properties) |
protected void |
applyAssociationProperties(org.eclipse.bpmn2.Association association,
Map<String,String> properties) |
protected void |
applyBaseElementProperties(org.eclipse.bpmn2.BaseElement baseElement,
Map<String,String> properties) |
protected void |
applyBusinessRuleTaskProperties(org.eclipse.bpmn2.BusinessRuleTask task,
Map<String,String> properties) |
protected void |
applyCallActivityProperties(org.eclipse.bpmn2.CallActivity callActivity,
Map<String,String> properties) |
protected void |
applyCatchEventProperties(org.eclipse.bpmn2.CatchEvent event,
Map<String,String> properties) |
protected void |
applyDataObjectProperties(org.eclipse.bpmn2.DataObject da,
Map<String,String> properties) |
protected void |
applyDataStoreProperties(org.eclipse.bpmn2.DataStore da,
Map<String,String> properties) |
protected void |
applyDefinitionProperties(org.eclipse.bpmn2.Definitions def,
Map<String,String> properties) |
protected void |
applyEndEventProperties(org.eclipse.bpmn2.EndEvent ee,
Map<String,String> properties) |
protected void |
applyEventProperties(org.eclipse.bpmn2.Event event,
Map<String,String> properties) |
protected void |
applyGatewayProperties(org.eclipse.bpmn2.Gateway gateway,
Map<String,String> properties) |
protected void |
applyGlobalTaskProperties(org.eclipse.bpmn2.GlobalTask globalTask,
Map<String,String> properties) |
protected void |
applyGroupProperties(org.eclipse.bpmn2.Group group,
Map<String,String> properties) |
protected void |
applyLaneProperties(org.eclipse.bpmn2.Lane lane,
Map<String,String> properties) |
protected void |
applyMessageProperties(org.eclipse.bpmn2.Message msg,
Map<String,String> properties) |
protected void |
applyProcessProperties(org.eclipse.bpmn2.Process process,
Map<String,String> properties) |
protected void |
applyProperties(org.eclipse.bpmn2.BaseElement baseElement,
Map<String,String> properties,
String preProcessingData) |
void |
applyReceiveTaskProperties(org.eclipse.bpmn2.ReceiveTask receiveTask,
Map<String,String> properties) |
protected void |
applyScriptTaskProperties(org.eclipse.bpmn2.ScriptTask scriptTask,
Map<String,String> properties) |
void |
applySendTaskProperties(org.eclipse.bpmn2.SendTask sendTask,
Map<String,String> properties) |
protected void |
applySequenceFlowProperties(org.eclipse.bpmn2.SequenceFlow sequenceFlow,
Map<String,String> properties) |
void |
applyServiceTaskProperties(org.eclipse.bpmn2.ServiceTask serviceTask,
Map<String,String> properties) |
protected void |
applyStartEventProperties(org.eclipse.bpmn2.StartEvent se,
Map<String,String> properties) |
protected void |
applySubProcessProperties(org.eclipse.bpmn2.SubProcess sp,
Map<String,String> properties) |
protected void |
applyTaskProperties(org.eclipse.bpmn2.Task task,
Map<String,String> properties,
String preProcessingData) |
protected void |
applyTextAnnotationProperties(org.eclipse.bpmn2.TextAnnotation ta,
Map<String,String> properties) |
protected void |
applyThrowEventProperties(org.eclipse.bpmn2.ThrowEvent event,
Map<String,String> properties) |
protected void |
applyUserTaskProperties(org.eclipse.bpmn2.UserTask task,
Map<String,String> properties) |
protected org.eclipse.bpmn2.BaseElement |
createBaseElement(String stencil,
String taskType,
boolean customElement) |
void |
revisitArtifacts(org.eclipse.bpmn2.Definitions def) |
void |
revisitAssociationsIoSpec(org.eclipse.bpmn2.Definitions def) |
void |
revisitCatchEvents(org.eclipse.bpmn2.Definitions def)
Updates event definitions for all catch events.
|
void |
revisitDataObjects(org.eclipse.bpmn2.Definitions def) |
void |
revisitGroups(org.eclipse.bpmn2.Definitions def) |
void |
revisitLanes(org.eclipse.bpmn2.Definitions def) |
void |
revisitMultiInstanceTasks(org.eclipse.bpmn2.Definitions def) |
void |
revisitSendReceiveTasks(org.eclipse.bpmn2.Definitions def) |
void |
revisitSubProcessItemDefs(org.eclipse.bpmn2.Definitions def) |
void |
revisitTaskAssociations(org.eclipse.bpmn2.Definitions def) |
void |
revisitThrowEvents(org.eclipse.bpmn2.Definitions def)
Updates event definitions for all throwing events.
|
void |
revisitWsdlImports(org.eclipse.bpmn2.Definitions def) |
void |
setCatchEventsInfo(org.eclipse.bpmn2.FlowElementsContainer container,
org.eclipse.bpmn2.Definitions def,
List<org.eclipse.bpmn2.Signal> toAddSignals,
Set<org.eclipse.bpmn2.Error> toAddErrors,
Set<org.eclipse.bpmn2.Escalation> toAddEscalations,
Set<org.eclipse.bpmn2.Message> toAddMessages,
Set<org.eclipse.bpmn2.ItemDefinition> toAddItemDefinitions) |
void |
setItemDefinitionsForActivitiesIoSpec(org.eclipse.bpmn2.FlowElementsContainer container,
org.eclipse.bpmn2.Definitions def,
List<org.eclipse.bpmn2.ItemDefinition> toAddItemDefinitions) |
void |
setSendReceiveTasksInfo(org.eclipse.bpmn2.FlowElementsContainer container,
org.eclipse.bpmn2.Definitions def,
List<org.eclipse.bpmn2.Message> toAddMessages,
List<org.eclipse.bpmn2.ItemDefinition> toAddItemDefinitions) |
void |
setThrowEventsInfo(org.eclipse.bpmn2.FlowElementsContainer container,
org.eclipse.bpmn2.Definitions def,
List<org.eclipse.bpmn2.RootElement> rootElements,
List<org.eclipse.bpmn2.Signal> toAddSignals,
Set<org.eclipse.bpmn2.Error> toAddErrors,
Set<org.eclipse.bpmn2.Escalation> toAddEscalations,
Set<org.eclipse.bpmn2.Message> toAddMessages,
Set<org.eclipse.bpmn2.ItemDefinition> toAddItemDefinitions) |
org.eclipse.bpmn2.util.Bpmn2Resource |
unmarshall(File file,
String preProcessingData) |
org.eclipse.bpmn2.util.Bpmn2Resource |
unmarshall(String json,
String preProcessingData) |
void |
updateIDs(org.eclipse.bpmn2.Definitions def) |
protected String |
wrapInCDATABlock(String value) |
public static final String defaultBgColor
public static final String defaultBrColor
public static final String defaultFontColor
public static final String defaultSequenceflowColor
public static final String defaultRelationshipType
public org.eclipse.bpmn2.util.Bpmn2Resource unmarshall(String json, String preProcessingData) throws org.codehaus.jackson.JsonParseException, IOException
org.codehaus.jackson.JsonParseException
IOException
public org.eclipse.bpmn2.util.Bpmn2Resource unmarshall(File file, String preProcessingData) throws org.codehaus.jackson.JsonParseException, IOException
org.codehaus.jackson.JsonParseException
IOException
public void revisitMultiInstanceTasks(org.eclipse.bpmn2.Definitions def)
public void revisitWsdlImports(org.eclipse.bpmn2.Definitions def)
public void revisitSubProcessItemDefs(org.eclipse.bpmn2.Definitions def)
public void updateIDs(org.eclipse.bpmn2.Definitions def)
public void addSimulation(org.eclipse.bpmn2.Definitions def)
public void revisitDataObjects(org.eclipse.bpmn2.Definitions def)
public void revisitTaskAssociations(org.eclipse.bpmn2.Definitions def)
public void revisitSendReceiveTasks(org.eclipse.bpmn2.Definitions def)
public void setSendReceiveTasksInfo(org.eclipse.bpmn2.FlowElementsContainer container, org.eclipse.bpmn2.Definitions def, List<org.eclipse.bpmn2.Message> toAddMessages, List<org.eclipse.bpmn2.ItemDefinition> toAddItemDefinitions)
public void revisitLanes(org.eclipse.bpmn2.Definitions def)
public void revisitArtifacts(org.eclipse.bpmn2.Definitions def)
public void revisitGroups(org.eclipse.bpmn2.Definitions def)
public void revisitThrowEvents(org.eclipse.bpmn2.Definitions def)
def
- Definitionspublic void setThrowEventsInfo(org.eclipse.bpmn2.FlowElementsContainer container, org.eclipse.bpmn2.Definitions def, List<org.eclipse.bpmn2.RootElement> rootElements, List<org.eclipse.bpmn2.Signal> toAddSignals, Set<org.eclipse.bpmn2.Error> toAddErrors, Set<org.eclipse.bpmn2.Escalation> toAddEscalations, Set<org.eclipse.bpmn2.Message> toAddMessages, Set<org.eclipse.bpmn2.ItemDefinition> toAddItemDefinitions)
public void revisitAssociationsIoSpec(org.eclipse.bpmn2.Definitions def)
public void setItemDefinitionsForActivitiesIoSpec(org.eclipse.bpmn2.FlowElementsContainer container, org.eclipse.bpmn2.Definitions def, List<org.eclipse.bpmn2.ItemDefinition> toAddItemDefinitions)
public void revisitCatchEvents(org.eclipse.bpmn2.Definitions def)
def
- Definitionspublic void setCatchEventsInfo(org.eclipse.bpmn2.FlowElementsContainer container, org.eclipse.bpmn2.Definitions def, List<org.eclipse.bpmn2.Signal> toAddSignals, Set<org.eclipse.bpmn2.Error> toAddErrors, Set<org.eclipse.bpmn2.Escalation> toAddEscalations, Set<org.eclipse.bpmn2.Message> toAddMessages, Set<org.eclipse.bpmn2.ItemDefinition> toAddItemDefinitions)
protected void applyProperties(org.eclipse.bpmn2.BaseElement baseElement, Map<String,String> properties, String preProcessingData)
protected void applySubProcessProperties(org.eclipse.bpmn2.SubProcess sp, Map<String,String> properties)
protected void applyAdHocSubProcessProperties(org.eclipse.bpmn2.AdHocSubProcess ahsp, Map<String,String> properties)
protected void applyEndEventProperties(org.eclipse.bpmn2.EndEvent ee, Map<String,String> properties)
protected void applyAssociationProperties(org.eclipse.bpmn2.Association association, Map<String,String> properties)
protected void applyStartEventProperties(org.eclipse.bpmn2.StartEvent se, Map<String,String> properties)
protected void applyMessageProperties(org.eclipse.bpmn2.Message msg, Map<String,String> properties)
protected void applyDataStoreProperties(org.eclipse.bpmn2.DataStore da, Map<String,String> properties)
protected void applyDataObjectProperties(org.eclipse.bpmn2.DataObject da, Map<String,String> properties)
protected void applyTextAnnotationProperties(org.eclipse.bpmn2.TextAnnotation ta, Map<String,String> properties)
protected void applyGroupProperties(org.eclipse.bpmn2.Group group, Map<String,String> properties)
protected void applyEventProperties(org.eclipse.bpmn2.Event event, Map<String,String> properties)
protected void applyCatchEventProperties(org.eclipse.bpmn2.CatchEvent event, Map<String,String> properties)
protected void applyThrowEventProperties(org.eclipse.bpmn2.ThrowEvent event, Map<String,String> properties)
protected void applyGlobalTaskProperties(org.eclipse.bpmn2.GlobalTask globalTask, Map<String,String> properties)
protected void applyBaseElementProperties(org.eclipse.bpmn2.BaseElement baseElement, Map<String,String> properties)
protected void applyDefinitionProperties(org.eclipse.bpmn2.Definitions def, Map<String,String> properties)
protected void applyProcessProperties(org.eclipse.bpmn2.Process process, Map<String,String> properties)
protected void applyBusinessRuleTaskProperties(org.eclipse.bpmn2.BusinessRuleTask task, Map<String,String> properties)
protected void applyScriptTaskProperties(org.eclipse.bpmn2.ScriptTask scriptTask, Map<String,String> properties)
public void applyServiceTaskProperties(org.eclipse.bpmn2.ServiceTask serviceTask, Map<String,String> properties)
public void applyReceiveTaskProperties(org.eclipse.bpmn2.ReceiveTask receiveTask, Map<String,String> properties)
public void applySendTaskProperties(org.eclipse.bpmn2.SendTask sendTask, Map<String,String> properties)
protected void applyLaneProperties(org.eclipse.bpmn2.Lane lane, Map<String,String> properties)
protected void applyCallActivityProperties(org.eclipse.bpmn2.CallActivity callActivity, Map<String,String> properties)
protected void applyTaskProperties(org.eclipse.bpmn2.Task task, Map<String,String> properties, String preProcessingData)
protected void applyUserTaskProperties(org.eclipse.bpmn2.UserTask task, Map<String,String> properties)
protected void applyGatewayProperties(org.eclipse.bpmn2.Gateway gateway, Map<String,String> properties)
protected void applySequenceFlowProperties(org.eclipse.bpmn2.SequenceFlow sequenceFlow, Map<String,String> properties)
protected org.eclipse.bpmn2.BaseElement createBaseElement(String stencil, String taskType, boolean customElement)
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.