Class Match

java.lang.Object
org.eclipse.epsilon.ecl.trace.Match

public class Match extends Object
  • Field Details

    • left

      protected Object left
      The left 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
  • Constructor Details

    • Match

      public Match()
    • Match

      public Match(Object left, Object right, boolean matching, MatchRule rule)
  • Method Details

    • 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 left, Object right)
    • contains

      public boolean contains(Object object)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • isUserSpecified

      public boolean isUserSpecified()
    • setUserSpecified

      public void setUserSpecified(boolean userSpecified)
    • getInfo

      public EolMap<?,?> getInfo()
    • setInfo

      public void setInfo(EolMap<?,?> info)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
      Since:
      1.6
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
      Since:
      1.6