Interface GraphPolicyRulePredicate

  • All Known Implementing Classes:
    GroupPredicate, PermissionsPredicate

    public interface GraphPolicyRulePredicate
    A plug-in for graph policy rule matches whereby an object may be matched against named values.
    Since:
    5.1.3
    • Method Detail

      • getName

        java.lang.String getName()
        Returns:
        the name of this predicate
      • isMatch

        boolean isMatch​(GraphPolicy.Details object,
                        java.lang.String parameter)
                 throws GraphException
        If this predicate is satisfied by the given object.
        Parameters:
        object - a model object
        parameter - the parameter that the object must match
        Returns:
        if the object satisfies this predicate
        Throws:
        GraphException - if the predicate could not be tested