|
JIVE Platform Release 0.3.1 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.buffalo.cse.jive.ui.search.queries.MethodReturnedSearchQuery.ReturnEventExporter
protected class MethodReturnedSearchQuery.ReturnEventExporter
An exporter used to examine ReturnEvents and to determine if the
event is a return from a method represented by a JiveSearchPattern.
| Field Summary | |
|---|---|
protected Value |
leftValue
The return value used as the left operand of the condition. |
protected ReturnEvent.Returner |
returner
The method that returned. |
| Constructor Summary | |
|---|---|
protected |
MethodReturnedSearchQuery.ReturnEventExporter()
|
| Method Summary | |
|---|---|
void |
addNumber(long n)
Get the sequence number of this event. |
void |
addPreviousContext(ReturnEvent.Returner returner)
Adds the previous context. |
void |
addReturnValue(Value value)
Adds the value returned from the method. |
void |
addThreadID(ThreadID thread)
Adds the thread on which this event took place. |
boolean |
checkForMatch(JiveSearchPattern pattern,
RelationalOperator operator,
String rightValue)
Returns whether the event is a method return represented by the supplied JiveSearchPattern and whether the return value
condition holds. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected ReturnEvent.Returner returner
protected Value leftValue
| Constructor Detail |
|---|
protected MethodReturnedSearchQuery.ReturnEventExporter()
| Method Detail |
|---|
public void addPreviousContext(ReturnEvent.Returner returner)
ReturnEvent.ExporterReturnEvent#export(Exporter).
addPreviousContext in interface ReturnEvent.Exporterreturner - the previous contextpublic void addReturnValue(Value value)
ReturnEvent.ExporterReturnEvent#export(Exporter).
addReturnValue in interface ReturnEvent.Exportervalue - the return valuepublic void addNumber(long n)
Event.Exporter
addNumber in interface Event.Exportern - the event numberpublic void addThreadID(ThreadID thread)
Event.Exporter
addThreadID in interface Event.Exporterthread - the thread identifier
public boolean checkForMatch(JiveSearchPattern pattern,
RelationalOperator operator,
String rightValue)
JiveSearchPattern and whether the return value
condition holds.
pattern - the pattern to check againstoperator - the relational operator for the return value conditionrightValue - the right operand
true if the method return can be associated with the pattern and the condition holds,
false otherwise
|
JIVE Platform Release 0.3.1 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||