com.waveset.workflow
Class DebugServices

java.lang.Object
  extended bycom.waveset.workflow.DebugServices
All Implemented Interfaces:
WorkflowApplication

public class DebugServices
extends java.lang.Object
implements WorkflowApplication

A few workflow applications to assist in workflow debugging.


Field Summary
static java.lang.String ARG_OP
           
static java.lang.String ARG_PROMPT
           
static java.lang.String ARG_TEXT
           
static java.lang.String ARG_TITLE
           
static java.lang.String code_id
           
static java.lang.String OP_NOTIFY
           
static java.lang.String OP_PROMPT
           
static java.lang.String RET_ANSWER
           
 
Constructor Summary
DebugServices()
           
 
Method Summary
 WavesetResult call(WorkflowContext context)
          Called by the workflow engine when it wants us to do something.
 void destroy()
          Called by the workflow engine when it no longer needs us.
 void init()
          Initializes the object for use as a Workflow application.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

code_id

public static final java.lang.String code_id
See Also:
Constant Field Values

OP_NOTIFY

public static final java.lang.String OP_NOTIFY
See Also:
Constant Field Values

OP_PROMPT

public static final java.lang.String OP_PROMPT
See Also:
Constant Field Values

ARG_OP

public static final java.lang.String ARG_OP
See Also:
Constant Field Values

ARG_TEXT

public static final java.lang.String ARG_TEXT
See Also:
Constant Field Values

ARG_TITLE

public static final java.lang.String ARG_TITLE
See Also:
Constant Field Values

ARG_PROMPT

public static final java.lang.String ARG_PROMPT
See Also:
Constant Field Values

RET_ANSWER

public static final java.lang.String RET_ANSWER
See Also:
Constant Field Values
Constructor Detail

DebugServices

public DebugServices()
              throws WavesetException
Method Detail

init

public void init()
Initializes the object for use as a Workflow application.

Specified by:
init in interface WorkflowApplication

destroy

public void destroy()
Called by the workflow engine when it no longer needs us.

Specified by:
destroy in interface WorkflowApplication

call

public WavesetResult call(WorkflowContext context)
Called by the workflow engine when it wants us to do something.

We first look at the "op" argument and dispatch to a handler method.

Specified by:
call in interface WorkflowApplication