com.opensymphony.workflow.util.bsf
Class BSFRegister
java.lang.Object
com.opensymphony.workflow.util.bsf.BSFRegister
- All Implemented Interfaces:
- Register
public class BSFRegister
- extends Object
- implements Register
Register that invokes a BSF script.
args parameter is expected to contain the follow arguments:
Workflow.BSF_LANGUAGE: The language of the script
Workflow.BSF_SOURCE: The source of the script
Workflow.BSF_ROW: The row of the script
Workflow.BSF_COL: The column of the script
- Version:
- $Revision: 1.4 $
- Author:
- $Author: hani $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BSFRegister
public BSFRegister()
registerVariable
public Object registerVariable(WorkflowContext context,
WorkflowEntry entry,
Map args,
com.opensymphony.module.propertyset.PropertySet ps)
throws WorkflowException
- Description copied from interface:
Register
- Returns the object to bind to the variable map for this workflow instance.
- Specified by:
registerVariable in interface Register
- Parameters:
context - The current workflow contextentry - The workflow entry. Note that this might be null, for example in a pre function
before the workflow has been initialisedargs - Map of arguments as set in the workflow descriptor
- Returns:
- the object to bind to the variable map for this workflow instance
- Throws:
WorkflowException