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 booleanequals(java.lang.Object o)java.lang.StringgetName()Returns the name of the attribute to match against.StringMatchergetValue()Returns theStringMatcherwhich is used to match against the profile attribute value.inthashCode()java.lang.StringtoString()
-
-
-
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 theStringMatcherwhich is used to match against the profile attribute value.
-
equals
public boolean equals(java.lang.Object o)
- Specified by:
equalsin classProfileContext
-
hashCode
public int hashCode()
- Specified by:
hashCodein classProfileContext
-
toString
public java.lang.String toString()
-
-