Class ProtectedConstraint

    • Constructor Detail

      • ProtectedConstraint

        public ProtectedConstraint()
    • Method Detail

      • isValid

        public boolean isValid​(Link link,
                               ResourceContext context)
        Description copied from class: BooleanConstraint
        Returns true if the specified link satisfies the constraint.
        Specified by:
        isValid in class BooleanConstraint
        Parameters:
        link - link to be validated
        context - resource context for checking available resources
        Returns:
        true if link is viable
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object