Class RaConfigContext.IfPropertyValue
- java.lang.Object
-
- com.opencloud.slee.upgrade.transformation.model.RaConfigContext
-
- com.opencloud.slee.upgrade.transformation.model.RaConfigContext.IfPropertyValue
-
- Enclosing class:
- RaConfigContext
public static final class RaConfigContext.IfPropertyValue extends RaConfigContext
Matches RA entities based on the value of a particular configuration property.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.opencloud.slee.upgrade.transformation.model.RaConfigContext
RaConfigContext.IfPropertyValue, RaConfigContext.RaEntity
-
-
Constructor Summary
Constructors Constructor Description IfPropertyValue(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 property to match against.StringMatchergetValue()Returns theStringMatcherwhich is used to match against the property value.inthashCode()ResultAndWarnings<java.lang.Boolean>matchesEntity(com.opencloud.slee.data.migration.RAEntityData raEntityData)Returns whether or not the given RA entity data matches this context, along with any warnings gathered while matching.java.lang.StringtoString()
-
-
-
Constructor Detail
-
IfPropertyValue
public IfPropertyValue(@Nonnull java.lang.String name, @Nonnull StringMatcher value)- Parameters:
name- The name of the property to match against.value- Matches against the current value of the configuration property.
-
-
Method Detail
-
matchesEntity
@Nonnull public ResultAndWarnings<java.lang.Boolean> matchesEntity(@Nonnull com.opencloud.slee.data.migration.RAEntityData raEntityData)
Description copied from class:RaConfigContextReturns whether or not the given RA entity data matches this context, along with any warnings gathered while matching.- Specified by:
matchesEntityin classRaConfigContext
-
getName
@Nonnull public java.lang.String getName()
Returns the name of the property to match against.
-
getValue
@Nonnull public StringMatcher getValue()
Returns theStringMatcherwhich is used to match against the property value.
-
equals
public boolean equals(java.lang.Object o)
- Specified by:
equalsin classRaConfigContext
-
hashCode
public int hashCode()
- Specified by:
hashCodein classRaConfigContext
-
toString
public java.lang.String toString()
-
-