|
JIVE Platform Release 0.2.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.buffalo.cse.jive.ui.search.queries.VariableChangedSearchQuery.AssignEventExporter
protected class VariableChangedSearchQuery.AssignEventExporter
An exporter used to examine AssignEvent
s and to determine if the
event is an assignment to a variable represented by a
JiveSearchPattern
.
Field Summary | |
---|---|
protected String |
className
The fully-qualified class name containing the variable assignment. |
protected String |
instanceNumber
The instance number of the class containing the variable assignment. |
protected String |
methodName
The method name where the variable assignment is occurring if the variable is a parameter or local variable. |
protected Value |
value
The value assigned to the variable. |
protected String |
variableName
The variable which is being assigned a value. |
Constructor Summary | |
---|---|
protected |
VariableChangedSearchQuery.AssignEventExporter()
|
Method Summary | |
---|---|
void |
addContourID(ContourID id)
Adds the identifier for the contour that contains the variable whose value is changing. |
void |
addNewValue(Value v)
Adds the new value assigned to the variable. |
void |
addNumber(long n)
Get the sequence number of this event. |
void |
addThreadID(ThreadID thread)
Adds the thread on which this event took place. |
void |
addVariableID(VariableID id)
Adds the identifier of the variable that has changed value. |
boolean |
checkForMatch(JiveSearchPattern pattern,
RelationalOperator operator,
String rightValue)
Returns whether the event is an assignment to a variable represented by the supplied JiveSearchPattern and the condition on the
value holds. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected String className
protected String instanceNumber
protected String methodName
protected String variableName
protected Value value
Constructor Detail |
---|
protected VariableChangedSearchQuery.AssignEventExporter()
Method Detail |
---|
public void addContourID(ContourID id)
AssignEvent.Exporter
addContourID
in interface AssignEvent.Exporter
id
- the variables contextpublic void addNewValue(Value v)
AssignEvent.Exporter
AssignEvent#export(Exporter)
.
addNewValue
in interface AssignEvent.Exporter
v
- the new valuepublic void addVariableID(VariableID id)
AssignEvent.Exporter
addVariableID
in interface AssignEvent.Exporter
id
- the variable identifierpublic void addNumber(long n)
Event.Exporter
addNumber
in interface Event.Exporter
n
- the event numberpublic void addThreadID(ThreadID thread)
Event.Exporter
addThreadID
in interface Event.Exporter
thread
- the thread identifierpublic boolean checkForMatch(JiveSearchPattern pattern, RelationalOperator operator, String rightValue)
JiveSearchPattern
and the condition on the
value holds.
pattern
- the pattern to check againstoperator
- the relational operatorrightValue
- the right operand
true
if the assignment can be associated with the pattern and the condition holds,
false
otherwise
|
JIVE Platform Release 0.2.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |