|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.btt.base.FunctionalTraceHelper
public class FunctionalTraceHelper
This is a helper class used to separate functional tracing code from the rest of the code.
Constructor Summary | |
---|---|
FunctionalTraceHelper()
|
Method Summary | |
---|---|
static void |
condition(java.lang.String expression,
boolean result,
java.lang.String event)
Traces the evaluation of a condition in a condition state. |
static void |
conditionDefaultEvent(java.lang.String defaultEvent)
Traces the triggering of the default condition state event |
static void |
dumpContext(Context ctx)
Recursively traces the contents of a context. |
static void |
flowChangeState(Processor p,
State s)
To be called when a flow changes to a new state. |
static void |
flowEnd(Processor p)
Traces the end of a flow |
static void |
flowStart(Processor p)
Traces the start of a flow |
(package private) static java.lang.String |
getNLS(java.lang.String key)
Returns the localized text from a key |
static boolean |
getShowDumps()
Returns whether exception stack traces are included in the trace or not. |
static void |
mappingBegin(FormatElement fmt,
Context inputContext,
Context outputContext)
Traces the start of a data mapping |
static void |
mappingEnd(Context inputContext,
Context outputContext)
Traces the end of a data mapping |
static void |
mappingItem(DataField src,
DataField to)
Traces the execution of a mapping line item |
static void |
mappingItem(java.lang.String fromDataField,
Context inputContext,
java.lang.String toDataField,
Context outputContext)
Traces the execution of a mapping line item |
static void |
mappingItem(java.lang.String fromExpression,
Context inputContext,
java.lang.String toDataField,
Context outputContext,
java.lang.Object value)
Traces the execution of a mapping line item |
static void |
operationAfterExecute(Operation operation)
Trace to be called right after executing an operation |
static void |
operationBeforeExecute(Operation operation)
Trace to be called right before executing an operation |
static void |
pageRender(java.lang.String jspFileName)
Traces the rendering of a page |
static void |
pageRequest(KeyedCollection requestData)
Traces the arrival of a request from the client |
static java.lang.String |
removeExtension(java.lang.String fileName,
java.lang.String ext)
Checks if a file name ends with a given extension (case insensitive), and removes it if true. |
(package private) static java.lang.String |
removePrefix(java.lang.String s)
If a String has one or more " |
static void |
transitionTrigger(State s,
TransitionDescriptor tranDesc)
To be called when a transition is triggered. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FunctionalTraceHelper()
Method Detail |
---|
public static boolean getShowDumps()
public static java.lang.String removeExtension(java.lang.String fileName, java.lang.String ext)
fileName
- the file name containing the extension.ext
- the extension, including the "." character.
public static void flowStart(Processor p)
p
- the flow processor instancepublic static void flowEnd(Processor p)
p
- the flow processor instancepublic static void flowChangeState(Processor p, State s)
p
- the flow processor instances
- the state instancepublic static void transitionTrigger(State s, TransitionDescriptor tranDesc)
s
- the source statetranDesc
- the transition descriptor instancepublic static void condition(java.lang.String expression, boolean result, java.lang.String event)
expression
- the condition expressionresult
- the result of the condition evaluationevent
- the event to trigger if the condition evaluates to truepublic static void conditionDefaultEvent(java.lang.String defaultEvent)
defaultEvent
- the default event namepublic static void mappingBegin(FormatElement fmt, Context inputContext, Context outputContext)
fmt
- the format element containing the mappinginputContext
- the source contextoutputContext
- the destination contextpublic static void mappingEnd(Context inputContext, Context outputContext)
inputContext
- the source contextoutputContext
- the destination contextpublic static void mappingItem(java.lang.String fromDataField, Context inputContext, java.lang.String toDataField, Context outputContext)
fromDataField
- mapping source expressioninputContext
- the source contexttoDataField
- mapping destinationoutputContext
- the destination contextpublic static void mappingItem(java.lang.String fromExpression, Context inputContext, java.lang.String toDataField, Context outputContext, java.lang.Object value)
fromDataField
- mapping source expressioninputContext
- the source contexttoDataField
- mapping destinationoutputContext
- the destination contextpublic static void mappingItem(DataField src, DataField to)
src
- source data elementto
- destination data elementpublic static void operationBeforeExecute(Operation operation)
operation
- the operation instancepublic static void operationAfterExecute(Operation operation)
operation
- the operation instancepublic static void pageRender(java.lang.String jspFileName)
jspFileName
- the name of the JSP file to be renderedpublic static void pageRequest(KeyedCollection requestData)
requestData
- the kColl containing the request datapublic static void dumpContext(Context ctx)
ctx
- the context containing the data to tracestatic java.lang.String removePrefix(java.lang.String s)
s
- the string to use to remove the prefix
static java.lang.String getNLS(java.lang.String key)
key
- the key to retrieve the text from the appropriate properties file
|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |