cgl.hpsearch.shell.flow
Class Flow
java.lang.Object
org.mozilla.javascript.ScriptableObject
cgl.hpsearch.shell.flow.Flow
- All Implemented Interfaces:
- Scriptable, Serializable
- public class Flow
- extends ScriptableObject
Flow object represents the overall flow description and contains the
components and start activiities
- Author:
- Harshawardhan S. Gadgil Date: Jan 27, 2004 / Time: 9:44:14 AM
- See Also:
- Serialized Form
|
Constructor Summary |
Flow()
|
|
Method Summary |
String |
getClassName()
|
static Scriptable |
jsConstructor(Context cx,
Object[] args,
Function ctorObj,
boolean inNewExpr)
|
static Object |
jsFunction_addComponents(Context _cx,
Scriptable thisObj,
Object[] id,
Function funObj)
|
static Object |
jsFunction_addStartActivities(Context _cx,
Scriptable thisObj,
Object[] id,
Function funObj)
|
static Object |
jsFunction_getStatus(Context _cx,
Scriptable thisObj,
Object[] id,
Function funObj)
|
static String[] |
jsFunction_getTaskIds(Context _cx,
Scriptable thisObj,
Object[] id,
Function funObj)
|
static Object |
jsFunction_getUniqStreamID(Context _cx,
Scriptable thisObj,
Object[] id,
Function funObj)
|
static void |
jsFunction_start(Context _cx,
Scriptable thisObj,
Object[] id,
Function funObj)
Starts the flow |
static void |
jsFunction_waitUntilFlowCompletes(Context _cx,
Scriptable thisObj,
Object[] id,
Function funObj)
Waits until this flow completes |
String |
jsGet_id()
|
String |
jsGet_SessionTOPIC()
|
void |
jsSet_id(String i)
|
| Methods inherited from class org.mozilla.javascript.ScriptableObject |
callMethod, defineClass, defineClass, defineFunctionProperties, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, get, get, getAllIds, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getFunctionPrototype, getIds, getObjectPrototype, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, has, has, hasInstance, hasProperty, hasProperty, isSealed, put, put, putProperty, putProperty, sealObject, setAttributes, setAttributes, setParentScope, setPrototype |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Flow
public Flow()
getClassName
public String getClassName()
jsConstructor
public static Scriptable jsConstructor(Context cx,
Object[] args,
Function ctorObj,
boolean inNewExpr)
jsFunction_addComponents
public static Object jsFunction_addComponents(Context _cx,
Scriptable thisObj,
Object[] id,
Function funObj)
jsFunction_addStartActivities
public static Object jsFunction_addStartActivities(Context _cx,
Scriptable thisObj,
Object[] id,
Function funObj)
jsFunction_start
public static void jsFunction_start(Context _cx,
Scriptable thisObj,
Object[] id,
Function funObj)
- Starts the flow
- Parameters:
_cx - thisObj - id - funObj -
jsSet_id
public void jsSet_id(String i)
jsGet_id
public String jsGet_id()
jsGet_SessionTOPIC
public String jsGet_SessionTOPIC()
jsFunction_getTaskIds
public static String[] jsFunction_getTaskIds(Context _cx,
Scriptable thisObj,
Object[] id,
Function funObj)
jsFunction_getStatus
public static Object jsFunction_getStatus(Context _cx,
Scriptable thisObj,
Object[] id,
Function funObj)
jsFunction_waitUntilFlowCompletes
public static void jsFunction_waitUntilFlowCompletes(Context _cx,
Scriptable thisObj,
Object[] id,
Function funObj)
- Waits until this flow completes
- Returns:
- The flow completion status
jsFunction_getUniqStreamID
public static Object jsFunction_getUniqStreamID(Context _cx,
Scriptable thisObj,
Object[] id,
Function funObj)