|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.camunda.bpm.cycle.roundtrip.BpmnProcessModelUtil
public class BpmnProcessModelUtil
Utility Class providing
| Field Summary | |
|---|---|
static String |
DEFAULT_ENGINEPOOL_NAME
|
protected XsltTransformer |
transformer
|
static String |
UTF_8
|
| Constructor Summary | |
|---|---|
BpmnProcessModelUtil()
|
|
| Method Summary | |
|---|---|
InputStream |
extractExecutablePool(InputStream sourceModel)
Takes a bpmn process model in XML representation as input. |
String |
extractExecutablePool(String sourceModel)
Extract executable pool based on string data |
protected byte[] |
getBytesFromString(String string)
|
protected String |
getStringFromBytes(byte[] byteArray)
|
String |
importChangesFromExecutableBpmnModel(String sourceModel,
String targetModel)
Import the changes from a source bpmn process model to a target bpmn process model. |
String |
replaceDeveloperFriendlyIds(String sourceModel)
Replaces the bpmn element IDs in a process model with developer friendly IDs. |
String |
replaceDeveloperFriendlyIds(String sourceModel,
String processEnginePoolId)
Replaces the bpmn element IDs in a process model with developer friendly IDs. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String UTF_8
public static final String DEFAULT_ENGINEPOOL_NAME
protected XsltTransformer transformer
| Constructor Detail |
|---|
public BpmnProcessModelUtil()
| Method Detail |
|---|
public String replaceDeveloperFriendlyIds(String sourceModel,
String processEnginePoolId)
sourceModel - a bpmn20 process model in XML representationprocessEnginePoolId - allows to provide a custom ID that is used for the first public String replaceDeveloperFriendlyIds(String sourceModel)
sourceModel - a bpmn20 process model in XML representation
public String extractExecutablePool(String sourceModel)
sourceModel -
extractExecutablePool(java.io.InputStream)public InputStream extractExecutablePool(InputStream sourceModel)
sourceModel - a bpmn20 process model in XML representation
public String importChangesFromExecutableBpmnModel(String sourceModel,
String targetModel)
protected byte[] getBytesFromString(String string)
protected String getStringFromBytes(byte[] byteArray)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||