public class WorkflowInstanceCreator
extends java.lang.Object
WorkflowEngine
Modifier and Type | Method and Description |
---|---|
boolean |
canBeInstanciated()
Test if the current workflow can be instanciated
|
void |
clean()
This feature allows you to optimize the treatment by releasing including
memory.
|
WorkflowResult |
getResult()
Get the result of instanciation
|
com.mega.modeling.api.MegaObject |
getWorkflowInstance()
Get the instance of workflow
|
com.mega.modeling.api.MegaObject |
getWorkflowSubject()
Get the subject
|
com.mega.modeling.api.MegaObject |
instanciate()
Instanciation of a workflow.
The function returns an empty mega object if the instantiation failed otherwise it returns the workflow instance |
void |
setBatchMode(boolean bBatchMode)
Set the batch mode for the instanciation
|
public void clean()
public boolean canBeInstanciated() throws com.mega.modeling.api.MegaException
com.mega.modeling.api.MegaException
public com.mega.modeling.api.MegaObject instanciate() throws com.mega.modeling.api.MegaException
com.mega.modeling.api.MegaException
- MegaExceptionpublic void setBatchMode(boolean bBatchMode)
bBatchMode
- True for specify the batch modepublic WorkflowResult getResult()
public com.mega.modeling.api.MegaObject getWorkflowSubject()
public com.mega.modeling.api.MegaObject getWorkflowInstance()