Class ProfileContext.IfAttributeValue

  • Enclosing class:
    ProfileContext

    public static final class ProfileContext.IfAttributeValue
    extends ProfileContext
    Matches profiles based on the value of a particular profile attribute.
    • Constructor Detail

      • IfAttributeValue

        public IfAttributeValue​(@Nonnull
                                java.lang.String name,
                                @Nonnull
                                StringMatcher value)
        Parameters:
        name - The name of the attribute to match against.
        value - Matches against the current value of the profile attribute.
    • Method Detail

      • getName

        @Nonnull
        public java.lang.String getName()
        Returns the name of the attribute to match against.
      • getValue

        @Nonnull
        public StringMatcher getValue()
        Returns the StringMatcher which is used to match against the profile attribute value.
      • equals

        public boolean equals​(java.lang.Object o)
        Specified by:
        equals in class ProfileContext
      • toString

        public java.lang.String toString()