Class ValidateIpAddressSaveDtoImpl

java.lang.Object
org.xbricks.inventories.inventory.validation.ValidateIpAddressSaveDtoImpl
All Implemented Interfaces:
jakarta.validation.ConstraintValidator<ValidateIpAddressSaveDto,IpAddressSaveDto>

public class ValidateIpAddressSaveDtoImpl extends Object implements jakarta.validation.ConstraintValidator<ValidateIpAddressSaveDto,IpAddressSaveDto>
  • Constructor Details

    • ValidateIpAddressSaveDtoImpl

      public ValidateIpAddressSaveDtoImpl()
  • Method Details

    • isValid

      public boolean isValid(IpAddressSaveDto value, jakarta.validation.ConstraintValidatorContext context)
      Specified by:
      isValid in interface jakarta.validation.ConstraintValidator<ValidateIpAddressSaveDto,IpAddressSaveDto>
    • getReservedNetworkPrefixesIPv4

      public List<NetworkPrefix> getReservedNetworkPrefixesIPv4()
    • getLocalNetworkPrefixesIPv4

      public List<NetworkPrefix> getLocalNetworkPrefixesIPv4()
    • getReservedNetworkPrefixesIPv6

      public List<NetworkPrefix> getReservedNetworkPrefixesIPv6()
    • getLocalNetworkPrefixesIPv6

      public List<NetworkPrefix> getLocalNetworkPrefixesIPv6()
    • isHostAddressValid

      public boolean isHostAddressValid(IpAddressSaveDto value, jakarta.validation.ConstraintValidatorContext context)
    • isNetworkPrefixValid

      public boolean isNetworkPrefixValid(IpAddressSaveDto value)
    • isNetworkPrefixValid

      public boolean isNetworkPrefixValid(IpAddressSaveDto value, jakarta.validation.ConstraintValidatorContext context)
    • isNetworkInterfaceControllerValid

      public boolean isNetworkInterfaceControllerValid(IpAddressSaveDto value, jakarta.validation.ConstraintValidatorContext context)