|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.waveset.workflow.WorkflowSimulator
Field Summary | |
static java.lang.String |
code_id
|
Constructor Summary | |
WorkflowSimulator()
Build a workflow executor. |
|
WorkflowSimulator(LighthouseSimulator lh)
|
|
WorkflowSimulator(java.lang.String path)
|
Method Summary | |
void |
add(WFProcess p)
|
void |
clearExecutionState()
Remove all TaskInstances and WorkItems from the environment. |
TaskInstance |
execute(java.lang.String objname)
|
TaskInstance |
execute(java.lang.String objname,
GenericObject inputs)
|
TaskInstance |
execute(java.lang.String objname,
java.lang.String taskname,
GenericObject inputs)
The main task entry point for workflow task simulation. |
TaskInstance |
execute(TaskDefinition def,
java.lang.String taskname,
GenericObject inputs)
Execute a workflow task definition. |
void |
execute(TaskInstance task)
Execute directly from a TaskInstance. |
LighthouseContext |
getLighthouseContext()
|
LighthouseSimulator |
getLighthouseSimulator()
If you need some of the extended methods defined on LighthouseSimulator call this. |
WorkflowContext |
getWorkflowContext()
|
WorkflowEngine |
getWorkflowEngine()
|
java.util.List |
getWorkItems(java.lang.String owner)
Return a list of all WorkItem objects assigned to the given user. |
void |
load(java.lang.String path)
|
static void |
main(java.lang.String[] args)
|
static void |
println(java.lang.String msg)
|
void |
run(WFProcess p)
|
void |
setInterceptor(Interceptor i)
Install an interceptor for WorkflowApplication calls. |
void |
setInvokeInterceptor(InvokeInterceptor ii)
Install an interceptor for |
void |
setNewDirectory(java.lang.String path)
|
void |
setTrace(boolean b)
|
void |
setVerbose(boolean b)
|
void |
updateWorkItem(WorkItem item)
|
static void |
usage()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String code_id
Constructor Detail |
public WorkflowSimulator()
public WorkflowSimulator(java.lang.String path)
public WorkflowSimulator(LighthouseSimulator lh)
Method Detail |
public void setNewDirectory(java.lang.String path)
public void load(java.lang.String path) throws WavesetException
WavesetException
public WorkflowEngine getWorkflowEngine()
public WorkflowContext getWorkflowContext()
public LighthouseContext getLighthouseContext()
public LighthouseSimulator getLighthouseSimulator()
public void setTrace(boolean b)
public void setVerbose(boolean b)
public static void println(java.lang.String msg)
public void setInterceptor(Interceptor i)
public void setInvokeInterceptor(InvokeInterceptor ii)
public void add(WFProcess p) throws WavesetException
WavesetException
public void clearExecutionState() throws WavesetException
WavesetException
public void run(WFProcess p) throws WavesetException
WavesetException
public TaskInstance execute(java.lang.String objname, java.lang.String taskname, GenericObject inputs) throws WavesetException
WavesetException
public TaskInstance execute(TaskDefinition def, java.lang.String taskname, GenericObject inputs) throws WavesetException
WavesetException
public TaskInstance execute(java.lang.String objname) throws WavesetException
WavesetException
public TaskInstance execute(java.lang.String objname, GenericObject inputs) throws WavesetException
WavesetException
public void execute(TaskInstance task) throws WavesetException
WavesetException
public java.util.List getWorkItems(java.lang.String owner) throws WavesetException
WavesetException
public void updateWorkItem(WorkItem item) throws WavesetException
WavesetException
public static void usage()
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |