Annotation Type IP

    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      boolean off
      Allows disabling the validation rule if this rule is inherited from super class.
      IP.Version[] value
      By default, support all versions, i.e.
    • Element Detail

      • off

        boolean off
        Allows disabling the validation rule if this rule is inherited from super class.

        By default, disable is off.

        Returns:
        true if the validation must be disabled.
        Default:
        false
      • value

        IP.Version[] value
        By default, support all versions, i.e. versions 4 and 6.
        Returns:
        the supported IP protocol IP.Versions
        Default:
        {io.rxmicro.validation.constraint.IP.Version.IP_V4, io.rxmicro.validation.constraint.IP.Version.IP_V6}