|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.feedback.FeedbackSupport
FeedbackSupport
contains the method used to define what properties
feedback is desired for, and those methods that keep track of the current values of the
properties for different recursion levels. When a 'level' completes, the previous level's
value is restored to the property key in the MethodContext. See the push
and
pop
method descriptions.
Supported API: false
Extendable: false
Field Summary | |
private static String |
versionID
|
Constructor Summary | |
FeedbackSupport()
|
Method Summary | |
private static Hashtable |
getFlagTable()
|
static boolean |
isEmbedded(Object property)
isEmbedded is called to determine if the property specified has a stack size greater than one. |
static boolean |
isEmbedded(String property)
isEmbedded is called to determine if the property specified has a stack size greater than one. |
static boolean |
isSet(String property)
isSet looks to see if the property given is one that was set via setFlags. |
static void |
pop(Object property)
Pops the last level's value of the given property and restores that value in the MethodContext. |
static void |
pop(Object[] properties)
Pops the last level's value of the given properties and restores those values in the MethodContext. |
static void |
push(Object property)
Pushes the current value of the given property onto a stack associated with the property. |
static void |
push(Object[] properties)
Pushes the current value of the given properties onto a stack associated with the properties. |
static void |
setFlags(Object[] properties)
setFlags is called by client service classes to define what properties feedback is wanted for. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String versionID
Constructor Detail |
public FeedbackSupport()
Method Detail |
public static void pop(Object property)
FeedbackSupport.push
at the beginning and FeedbackSupport.pop
at the end. This allows for the proper detection of embedded and recursive processing.
property
- Object defining the property key of the hashtable. This
corresponds to the property key in the MethodContext.public static void pop(Object[] properties)
FeedbackSupport.push
at the beginning and FeedbackSupport.pop
at the end. This allows for the proper detection of embedded and recursive processing.
properties
- Object array defining the property keys of the hashtable. These
correspond to the property keys in the MethodContext.public static void push(Object property)
FeedbackSupport.push
at the beginning and FeedbackSupport.pop
at the end. This allows for the proper detection of embedded and recursive processing.
property
- Object defining the property key of the hashtable. This
corresponds to the property key in the MethodContext.public static void push(Object[] properties)
FeedbackSupport.push
at the beginning and FeedbackSupport.pop
at the end. This allows for the proper detection of embedded and recursive processing.
public static void setFlags(Object[] properties)
properties
- Object array defining the properties for which feedback is desired.public static boolean isEmbedded(String property)
property
- String defining the propertyName.
public static boolean isEmbedded(Object property)
property
- Object defining the property.
public static boolean isSet(String property)
property
- String defining the propertyName.
private static Hashtable getFlagTable()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |