Interface BlueMindRulesJob<T>

Type Parameters:
T - what it produces
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface BlueMindRulesJob<T>
What the rules engine does with the caller's mailbox in one session: the reads, the decision, the writes. Unlike a Function it may refuse with the checked exceptions the host's engine interface declares, before anything is written.
  • Method Summary

    Modifier and Type
    Method
    Description
    Runs the job.
  • Method Details

    • run

      T run(BlueMindMailbox mailbox) throws Exception
      Runs the job.
      Parameters:
      mailbox - the caller's own mailbox
      Returns:
      what it produced
      Throws:
      Exception - a refusal the host's interface declares, or a failure of BlueMind's by kind