|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.tigris.scarab.workflow.WorkflowFactory
This class retrieves the appropriate workflow tool. The DefaultWorkflow is a noop implementation of workflow that always returns true.
| Constructor Summary | |
WorkflowFactory()
|
|
| Method Summary | |
static boolean |
getForceUseDefault()
This is used when you want to force the workflow to use the default workflow and override whatever is configured. |
static Workflow |
getInstance()
Creates a new instance of the configured Workflow implementation, defaulting
to DefaultWorkflow if not
specified. |
static void |
setForceUseDefault(boolean value)
This is used when you want to force the workflow to use the default workflow and override whatever is configured. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public WorkflowFactory()
| Method Detail |
public static void setForceUseDefault(boolean value)
public static boolean getForceUseDefault()
public static Workflow getInstance()
throws ScarabException
Workflow implementation, defaulting
to DefaultWorkflow if not
specified.
Workflow instance.
ScarabException - Trouble creating
Workflow.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||