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<?,?>infoAdditional info that the user can attach in the do part of the match ruleprotected ObjectleftThe left object of the matchprotected booleanmatchingThe result of the ECL match ruleprotected ObjectrightThe right object of the matchprotected MatchRuleruleThe ECL match rule that created the matchprotected booleanuserSpecifiedIf the match is user-specified or has been calculated by ECL
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontains(Object object)booleancontains(Object left, Object right)booleanequals(Object obj)EolMap<?,?>getInfo()ObjectgetLeft()ObjectgetRight()MatchRulegetRule()inthashCode()booleanisMatching()booleanisUserSpecified()voidsetInfo(EolMap<?,?> info)voidsetLeft(Object left)voidsetMatching(boolean matching)voidsetRight(Object right)voidsetRule(MatchRule rule)voidsetUserSpecified(boolean userSpecified)StringtoString()
-
-
-
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)
-
-