| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.philemonworks.selfdiagnose.ExecutionContext
public class ExecutionContext
| Constructor Summary | |
|---|---|
| ExecutionContext() | |
| Method Summary | |
|---|---|
|  Object | getValue(String expression)Return the stored value for a variable. | 
|  String | resolveString(String valueOrExpression)Checks and makes sure the return value is a String | 
|  Object | resolveValue(String valueOrExpression)The argument is either a value or an expression. | 
|  void | setValue(String variableName,
         Object newValue)Store the value for a variable unless no variable was specified (== null) | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public ExecutionContext()
| Method Detail | 
|---|
public void setValue(String variableName,
                     Object newValue)
              throws DiagnoseException
variableName - : String || nullnewValue - : Object
DiagnoseException
public Object getValue(String expression)
                throws DiagnoseException
expression - : String
DiagnoseException
public Object resolveValue(String valueOrExpression)
                    throws DiagnoseException
valueOrExpression - 
DiagnoseException
public String resolveString(String valueOrExpression)
                     throws DiagnoseException
valueOrExpression - : String
DiagnoseException| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||