Class StartsWithLocationCriterion

  • All Implemented Interfaces:
    net.shibboleth.utilities.java.support.resolver.Criterion

    public class StartsWithLocationCriterion
    extends Object
    implements net.shibboleth.utilities.java.support.resolver.Criterion
    A criterion which allows to specify at runtime whether location paths being evaluated may be evaluated on the basis of a "starts with" match.
    • Field Detail

      • matchStartsWith

        private Boolean matchStartsWith
        The matchStartsWith criterion value.
    • Constructor Detail

      • StartsWithLocationCriterion

        public StartsWithLocationCriterion()
        Constructor.
      • StartsWithLocationCriterion

        public StartsWithLocationCriterion​(boolean value)
        Constructor.
        Parameters:
        value - the matchStartsWith flag value
    • Method Detail

      • isMatchStartsWith

        public boolean isMatchStartsWith()
        Get the startswith value.
        Returns:
        true or false
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object