Class CheckResult


  • public final class CheckResult
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​java.lang.Boolean> getAll()
      Return all actions and effects in this instance.
      boolean isAllowed​(java.lang.String action)
      Returns whether the given action is allowed.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • isAllowed

        public boolean isAllowed​(java.lang.String action)
        Returns whether the given action is allowed.
        Parameters:
        action - Action to check
        Returns:
        True if the action is allowed
      • getAll

        public java.util.Map<java.lang.String,​java.lang.Boolean> getAll()
        Return all actions and effects in this instance.
        Returns:
        Map of action to boolean indicating whether the action is allowed or not