Class RuleEvent

  • Direct Known Subclasses:
    RuleIntermediateEvent

    public class RuleEvent
    extends java.lang.Object
    Information about execution of a rule.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.Object result
      The action result.
      protected java.lang.String rulename
      The rule that was fired.
    • Constructor Summary

      Constructors 
      Constructor Description
      RuleEvent()
      Create a new RuleEvent.
      RuleEvent​(java.lang.String rulename, java.lang.Object result)
      Create a new RuleEvent.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object getResult()
      Get the result.
      java.lang.String getRuleName()
      Get the ruleName.
      void setResult​(java.lang.Object result)
      Set the result.
      void setRuleName​(java.lang.String rulename)
      Set the ruleName.
      java.lang.String toString()
      Get the string representation.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • rulename

        protected java.lang.String rulename
        The rule that was fired.
      • result

        protected java.lang.Object result
        The action result.
    • Constructor Detail

      • RuleEvent

        public RuleEvent()
        Create a new RuleEvent.
      • RuleEvent

        public RuleEvent​(java.lang.String rulename,
                         java.lang.Object result)
        Create a new RuleEvent.
    • Method Detail

      • getRuleName

        public java.lang.String getRuleName()
        Get the ruleName.
        Returns:
        The ruleName.
      • setRuleName

        public void setRuleName​(java.lang.String rulename)
        Set the ruleName.
        Parameters:
        ruleName - The ruleName to set.
      • getResult

        public java.lang.Object getResult()
        Get the result.
        Returns:
        The result.
      • setResult

        public void setResult​(java.lang.Object result)
        Set the result.
        Parameters:
        result - The result to set.
      • toString

        public java.lang.String toString()
        Get the string representation.
        Overrides:
        toString in class java.lang.Object