|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.monad.homerun.filter.FilterTrace
public class FilterTrace
Field Summary | |
---|---|
static int |
FILTER_TYPE
|
static int |
SCREEN_TYPE
|
Constructor Summary | |
---|---|
FilterTrace()
|
|
FilterTrace(boolean validation)
|
Method Summary | |
---|---|
int |
addSubTrace(FilterTrace subTrace)
|
java.lang.String |
getDesc()
Returns the text description of the current trace record |
boolean |
getResult()
Returns the top-level result of the trace |
int |
getStatement()
|
FilterTrace |
getSubTrace(int index)
|
int |
getTerm()
|
java.lang.String |
getTermName()
|
int |
getType()
|
boolean |
hasNext()
Returns whether there are more trace records |
boolean |
isValidation()
Is the trace a validation or execution trace? |
void |
next()
Advances the record pointer in the trace |
void |
rewind()
Prepares the trace for reading |
void |
setDesc(java.lang.String desc)
Sets the current record description |
void |
setResult(boolean result)
Sets the top-level trace result |
void |
setStatement(int stmt)
|
void |
setTerm(int term)
|
void |
setTermName(java.lang.String name)
|
void |
setType(int type)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int SCREEN_TYPE
public static final int FILTER_TYPE
Constructor Detail |
---|
public FilterTrace()
public FilterTrace(boolean validation)
Method Detail |
---|
public void rewind()
Trace
rewind
in interface Trace
public boolean hasNext()
Trace
hasNext
in interface Trace
public void next()
Trace
next
in interface Trace
public boolean isValidation()
Trace
isValidation
in interface Trace
public boolean getResult()
Trace
getResult
in interface Trace
public FilterTrace getSubTrace(int index)
public int addSubTrace(FilterTrace subTrace)
public void setResult(boolean result)
Trace
setResult
in interface Trace
result
- the trace resultpublic int getStatement()
public int getType()
public int getTerm()
public java.lang.String getTermName()
public java.lang.String getDesc()
Trace
getDesc
in interface Trace
public void setStatement(int stmt)
public void setType(int type)
public void setTerm(int term)
public void setTermName(java.lang.String name)
public void setDesc(java.lang.String desc)
Trace
setDesc
in interface Trace
desc
- the current description to write
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |