Package org.eclipse.epsilon.ecl.trace
Class Match
- java.lang.Object
-
- org.eclipse.epsilon.ecl.trace.Match
-
public class Match extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected EolMap<?,?>
info
Additional info that the user can attach in the do part of the match ruleprotected Object
left
The left object of the matchprotected boolean
matching
The result of the ECL match ruleprotected Object
right
The right object of the matchprotected MatchRule
rule
The ECL match rule that created the matchprotected boolean
userSpecified
If the match is user-specified or has been calculated by ECL
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
contains(Object object)
boolean
contains(Object left, Object right)
boolean
equals(Object obj)
EolMap<?,?>
getInfo()
Object
getLeft()
Object
getRight()
MatchRule
getRule()
int
hashCode()
boolean
isMatching()
boolean
isUserSpecified()
void
setInfo(EolMap<?,?> info)
void
setLeft(Object left)
void
setMatching(boolean matching)
void
setRight(Object right)
void
setRule(MatchRule rule)
void
setUserSpecified(boolean userSpecified)
String
toString()
-
-
-
Field Detail
-
left
protected Object left
The left object of the match
-
right
protected Object right
The right object of the match
-
matching
protected boolean matching
The result of the ECL match rule
-
rule
protected MatchRule rule
The ECL match rule that created the match
-
userSpecified
protected boolean userSpecified
If the match is user-specified or has been calculated by ECL
-
info
protected EolMap<?,?> info
Additional info that the user can attach in the do part of the match rule
-
-
Method Detail
-
getRule
public MatchRule getRule()
-
setRule
public void setRule(MatchRule rule)
-
isMatching
public boolean isMatching()
-
setMatching
public void setMatching(boolean matching)
-
getLeft
public Object getLeft()
-
setLeft
public void setLeft(Object left)
-
getRight
public Object getRight()
-
setRight
public void setRight(Object right)
-
contains
public boolean contains(Object object)
-
isUserSpecified
public boolean isUserSpecified()
-
setUserSpecified
public void setUserSpecified(boolean userSpecified)
-
getInfo
public EolMap<?,?> getInfo()
-
setInfo
public void setInfo(EolMap<?,?> info)
-
-