Class SendAdHocRequestsEvent

All Implemented Interfaces:
DocumentEvent, RuleEvent

public class SendAdHocRequestsEvent extends DocumentEventBase
  • Constructor Details

    • SendAdHocRequestsEvent

      public SendAdHocRequestsEvent(String errorPathPrefix, Document document)
    • SendAdHocRequestsEvent

      public SendAdHocRequestsEvent(Document document)
    • SendAdHocRequestsEvent

      public SendAdHocRequestsEvent(String description, String errorPathPrefix, Document document)
  • Method Details

    • getRuleInterfaceClass

      public Class<? extends BusinessRule> getRuleInterfaceClass()
      Description copied from interface: RuleEvent
      Returns the interface that classes must implement to receive this event.
      Returns:
      rule interface
    • invokeRuleMethod

      public boolean invokeRuleMethod(BusinessRule rule)
      Description copied from interface: RuleEvent
      Invokes the event handling method on the rule object.
      Parameters:
      rule - business rule
      Returns:
      true if the rule matches
    • generateEvents

      public List<RuleEvent> generateEvents()
      Description copied from interface: RuleEvent
      This will return a list of events that are spawned from this event.
      Specified by:
      generateEvents in interface RuleEvent
      Overrides:
      generateEvents in class RuleEventBase
      Returns:
      list of events
      See Also: