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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isHostAddressValid
(IpAddressSaveDto value, jakarta.validation.ConstraintValidatorContext context) boolean
isNetworkInterfaceControllerValid
(IpAddressSaveDto value, jakarta.validation.ConstraintValidatorContext context) boolean
boolean
isNetworkPrefixValid
(IpAddressSaveDto value, jakarta.validation.ConstraintValidatorContext context) boolean
isValid
(IpAddressSaveDto value, jakarta.validation.ConstraintValidatorContext context) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface jakarta.validation.ConstraintValidator
initialize
-
Constructor Details
-
ValidateIpAddressSaveDtoImpl
public ValidateIpAddressSaveDtoImpl()
-
-
Method Details
-
isValid
public boolean isValid(IpAddressSaveDto value, jakarta.validation.ConstraintValidatorContext context) - Specified by:
isValid
in interfacejakarta.validation.ConstraintValidator<ValidateIpAddressSaveDto,
IpAddressSaveDto>
-
getReservedNetworkPrefixesIPv4
-
getLocalNetworkPrefixesIPv4
-
getReservedNetworkPrefixesIPv6
-
getLocalNetworkPrefixesIPv6
-
isHostAddressValid
public boolean isHostAddressValid(IpAddressSaveDto value, jakarta.validation.ConstraintValidatorContext context) -
isNetworkPrefixValid
-
isNetworkPrefixValid
public boolean isNetworkPrefixValid(IpAddressSaveDto value, jakarta.validation.ConstraintValidatorContext context) -
isNetworkInterfaceControllerValid
public boolean isNetworkInterfaceControllerValid(IpAddressSaveDto value, jakarta.validation.ConstraintValidatorContext context)
-