Class 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.
    • 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: RaConfigContext
        Returns whether or not the given RA entity data matches this context, along with any warnings gathered while matching.
        Specified by:
        matchesEntity in class RaConfigContext
      • getName

        @Nonnull
        public java.lang.String getName()
        Returns the name of the property to match against.
      • getValue

        @Nonnull
        public StringMatcher getValue()
        Returns the StringMatcher which is used to match against the property value.
      • toString

        public java.lang.String toString()