com.waveset.workflow
Class WorkflowTraceBuffer

java.lang.Object
  extended bycom.waveset.workflow.TraceBuffer
      extended bycom.waveset.workflow.WorkflowTraceBuffer

public class WorkflowTraceBuffer
extends TraceBuffer

A simple class to help format hierarchical trace messages. In many cases (for example workflow), trace messages are clearer if they are indented to reflect the structure of the program execution. This class provides a mechanism for hanging indentation, and utilities for formatting some common messages.


Field Summary
static java.lang.String code_id
           
 
Constructor Summary
WorkflowTraceBuffer(LighthouseContext context)
           
 
Method Summary
 void state(WFCase wfcase)
           
 void step(WFCase.Step s)
           
 void task(TaskInstance task)
           
 
Methods inherited from class com.waveset.workflow.TraceBuffer
addTracedObject, checkFlush, checkNewline, clear, decIndent, enter, exception, flush, getTrace, incIndent, indent, isObjectTraced, leave, leave, msg, object, object, object, print, println, setAutoFlush, setLevel, setNoObjectFilter, variables
 
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
Constructor Detail

WorkflowTraceBuffer

public WorkflowTraceBuffer(LighthouseContext context)
Method Detail

task

public void task(TaskInstance task)

state

public void state(WFCase wfcase)

step

public void step(WFCase.Step s)