Class TestEventPatternResult

    • Constructor Detail

      • TestEventPatternResult

        public TestEventPatternResult()
    • Method Detail

      • setResult

        public void setResult​(Boolean result)

        Indicates whether the event matches the event pattern.

        Parameters:
        result - Indicates whether the event matches the event pattern.
      • getResult

        public Boolean getResult()

        Indicates whether the event matches the event pattern.

        Returns:
        Indicates whether the event matches the event pattern.
      • withResult

        public TestEventPatternResult withResult​(Boolean result)

        Indicates whether the event matches the event pattern.

        Parameters:
        result - Indicates whether the event matches the event pattern.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isResult

        public Boolean isResult()

        Indicates whether the event matches the event pattern.

        Returns:
        Indicates whether the event matches the event pattern.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object