Class RaConfigContext.RaEntity
- java.lang.Object
-
- com.opencloud.slee.upgrade.transformation.model.RaConfigContext
-
- com.opencloud.slee.upgrade.transformation.model.RaConfigContext.RaEntity
-
- Enclosing class:
- RaConfigContext
public static final class RaConfigContext.RaEntity extends RaConfigContext
Matches RA entities based on their entity name.
-
-
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 RaEntity(StringMatcher entityName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
StringMatcher
getEntityName()
Returns theStringMatcher
which is used to match against RA entity names.int
hashCode()
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.String
toString()
-
-
-
Constructor Detail
-
RaEntity
public RaEntity(@Nonnull StringMatcher entityName)
- Parameters:
entityName
- Matches against RA entity names.
-
-
Method Detail
-
matchesEntity
@Nonnull public ResultAndWarnings<java.lang.Boolean> matchesEntity(@Nonnull com.opencloud.slee.data.migration.RAEntityData raEntityData)
Description copied from class:RaConfigContext
Returns whether or not the given RA entity data matches this context, along with any warnings gathered while matching.- Specified by:
matchesEntity
in classRaConfigContext
-
getEntityName
@Nonnull public StringMatcher getEntityName()
Returns theStringMatcher
which is used to match against RA entity names.
-
equals
public boolean equals(java.lang.Object o)
- Specified by:
equals
in classRaConfigContext
-
hashCode
public int hashCode()
- Specified by:
hashCode
in classRaConfigContext
-
toString
public java.lang.String toString()
-
-