Interface DecisionVoter<T extends Vote>

Type Parameters:
T - Any type of Vote
All Known Implementing Classes:
LocationGroupRedirector, LocationRedirector, TargetRedirector

interface DecisionVoter<T extends Vote>
A DecisionVoter is asked to vote for a business action.
Author:
Heiko Scherrer
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    voteFor(T vote)
    The implementation has to vote for a certain vote on particular rules that are implemented by the voter.
  • Method Details

    • voteFor

      void voteFor(T vote) throws DeniedException
      The implementation has to vote for a certain vote on particular rules that are implemented by the voter.
      Parameters:
      vote - The vote to vote for
      Throws:
      DeniedException - is thrown when the voter cannot vote for the action