|
||||||||||
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. |
void |
onAttachmentAdded(AssetItem item)
The BPMN2 Process can not be built if the package name is not the same as the package that it exists in. |
void |
onAttachmentRemoved(AssetItem item)
|
protected org.jbpm.ruleflow.core.RuleFlowProcess |
readProcess(InputStream is)
|
void |
retrieveAssetContent(RuleAsset asset,
AssetItem item)
When loading asset content. |
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 ContentHandler
asset
- The target.item
- The source.
com.google.gwt.user.client.rpc.SerializationException
protected 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 ContentHandler
com.google.gwt.user.client.rpc.SerializationException
public static String serialize(String serializeUrl, String modelJson) throws IOException
IOException
public void onAttachmentAdded(AssetItem item) throws IOException
onAttachmentAdded
in interface ICanHasAttachment
item
-
IOException
public void onAttachmentRemoved(AssetItem item) throws IOException
onAttachmentRemoved
in interface ICanHasAttachment
IOException
public void compile(BRMSPackageBuilder builder, AssetItem asset, AssemblyErrorLogger logger) throws org.drools.compiler.DroolsParserException, IOException
ICompilable
compile
in interface ICompilable
org.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 |