public static final class ProfileContext.IfAttributeValue extends ProfileContext
ProfileContext.IfAttributeValue, ProfileContext.ProfileName, ProfileContext.ProfileSpec, ProfileContext.ProfileTable
Constructor and Description |
---|
ProfileContext.IfAttributeValue(java.lang.String name,
StringMatcher value) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getName()
Returns the name of the attribute to match against.
|
StringMatcher |
getValue()
Returns the
StringMatcher which is used to match against the profile attribute value. |
int |
hashCode() |
java.lang.String |
toString() |
public ProfileContext.IfAttributeValue(@Nonnull java.lang.String name, @Nonnull StringMatcher value)
name
- The name of the attribute to match against.value
- Matches against the current value of the profile attribute.@Nonnull public java.lang.String getName()
@Nonnull public StringMatcher getValue()
StringMatcher
which is used to match against the profile attribute value.public boolean equals(java.lang.Object o)
equals
in class ProfileContext
public int hashCode()
hashCode
in class ProfileContext
public java.lang.String toString()
Copyright © OpenCloud. All Rights Reserved.