Class ProfileContext.IfAttributeValue
- java.lang.Object
-
- com.opencloud.slee.upgrade.transformation.model.ProfileContext
-
- com.opencloud.slee.upgrade.transformation.model.ProfileContext.IfAttributeValue
-
- Enclosing class:
- ProfileContext
public static final class ProfileContext.IfAttributeValue extends ProfileContext
Matches profiles based on the value of a particular profile attribute.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.opencloud.slee.upgrade.transformation.model.ProfileContext
ProfileContext.IfAttributeValue, ProfileContext.ProfileName, ProfileContext.ProfileSpec, ProfileContext.ProfileTable
-
-
Constructor Summary
Constructors Constructor Description IfAttributeValue(java.lang.String name, StringMatcher value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String
getName()
Returns the name of the attribute to match against.StringMatcher
getValue()
Returns theStringMatcher
which is used to match against the profile attribute value.int
hashCode()
java.lang.String
toString()
-
-
-
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 theStringMatcher
which is used to match against the profile attribute value.
-
equals
public boolean equals(java.lang.Object o)
- Specified by:
equals
in classProfileContext
-
hashCode
public int hashCode()
- Specified by:
hashCode
in classProfileContext
-
toString
public java.lang.String toString()
-
-