|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.drools.guvnor.server.contenthandler.ContentHandler
org.drools.guvnor.server.contenthandler.BPMN2ProcessHandler
public class BPMN2ProcessHandler
| Constructor Summary | |
|---|---|
BPMN2ProcessHandler()
|
|
| Method Summary | |
|---|---|
void |
assembleSource(PortableObject assetContent,
StringBuilder stringBuilder)
Render source of the PortableObject into the StringBuilder |
void |
compile(BRMSPackageBuilder builder,
AssetItem asset,
AssemblyErrorLogger logger)
This will be called when the asset is required to compile itself, in the context of the given builder. |
protected org.jbpm.ruleflow.core.RuleFlowProcess |
readProcess(InputStream is)
|
void |
retrieveAssetContent(RuleAsset asset,
AssetItem item)
When loading asset content. |
void |
ruleFlowAttached(AssetItem item)
The rule flow can not be built if the package name is not the same as the package that it exists in. |
static String |
serialize(String serializeUrl,
String modelJson)
|
void |
storeAssetContent(RuleAsset asset,
AssetItem repoAsset)
For storing the asset content back into the repo node (any changes). |
| Methods inherited from class org.drools.guvnor.server.contenthandler.ContentHandler |
|---|
isRuleAsset, parentNameFromCategory |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BPMN2ProcessHandler()
| Method Detail |
|---|
public void retrieveAssetContent(RuleAsset asset,
AssetItem item)
throws com.google.gwt.user.client.rpc.SerializationException
ContentHandler
retrieveAssetContent in class ContentHandlerasset - The target.item - The source.
com.google.gwt.user.client.rpc.SerializationExceptionprotected org.jbpm.ruleflow.core.RuleFlowProcess readProcess(InputStream is)
public void storeAssetContent(RuleAsset asset,
AssetItem repoAsset)
throws com.google.gwt.user.client.rpc.SerializationException
ContentHandler
storeAssetContent in class ContentHandlercom.google.gwt.user.client.rpc.SerializationException
public static String serialize(String serializeUrl,
String modelJson)
throws IOException
IOExceptionpublic void ruleFlowAttached(AssetItem item)
item -
public void compile(BRMSPackageBuilder builder,
AssetItem asset,
AssemblyErrorLogger logger)
throws org.drools.compiler.DroolsParserException,
IOException
ICompilable
compile in interface ICompilableorg.drools.compiler.DroolsParserException
IOException
public void assembleSource(PortableObject assetContent,
StringBuilder stringBuilder)
ICanRenderSource
assembleSource in interface ICanRenderSource
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||