|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Configuration
Configuration object that is responsible for all 'static' workflow information. This includes loading of workflow configurations, setting up the workflow descriptor factory, as well as proxying calls to the underlying descriptor factory. Date: Mar 22, 2004 Time: 3:42:19 PM
| Method Summary | |
|---|---|
String |
getPersistence()
Get the fully qualified class name of the persistence store. |
Map |
getPersistenceArgs()
Get the persistence args for the persistence store. |
VariableResolver |
getVariableResolver()
Return the resolver to use for all variables specified in scripts |
WorkflowDescriptor |
getWorkflow(String name)
Get the named workflow descriptor. |
String[] |
getWorkflowNames()
Get a list of all available workflow descriptor names. |
WorkflowStore |
getWorkflowStore()
|
boolean |
isInitialized()
|
boolean |
isModifiable(String name)
Check if a particular workflow can be modified or not. |
void |
load(URL url)
Load the specified configuration file. |
boolean |
removeWorkflow(String workflow)
Remove the specified workflow. |
boolean |
saveWorkflow(String name,
WorkflowDescriptor descriptor,
boolean replace)
|
| Method Detail |
|---|
boolean isInitialized()
load(java.net.URL)
will be called.boolean isModifiable(String name)
name - The workflow name.
String getPersistence()
Map getPersistenceArgs()
VariableResolver getVariableResolver()
WorkflowDescriptor getWorkflow(String name)
throws FactoryException
name - the workflow name
FactoryException - if there was an error looking up the descriptor or if it could not be found.
String[] getWorkflowNames()
throws FactoryException
FactoryException - if the underlying factory does not support this method
or if there was an error looking up workflow names.
WorkflowStore getWorkflowStore()
throws StoreException
StoreException
void load(URL url)
throws FactoryException
url - url to the configuration file.
FactoryException
boolean removeWorkflow(String workflow)
throws FactoryException
workflow - The workflow name of the workflow to remove.
FactoryException - If the underlying workflow factory has an error removing the workflow,
or if it does not support the removal of workflows.
boolean saveWorkflow(String name,
WorkflowDescriptor descriptor,
boolean replace)
throws FactoryException
FactoryException
|
OpenSymphony Workflow Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||