Class ValidateNetworkInterfaceControllerSaveDtoImpl
java.lang.Object
org.xbricks.inventories.inventory.validation.ValidateNetworkInterfaceControllerSaveDtoImpl
- All Implemented Interfaces:
jakarta.validation.ConstraintValidator<ValidateNetworkInterfaceControllerSaveDto,
NetworkInterfaceControllerSaveDto>
public class ValidateNetworkInterfaceControllerSaveDtoImpl
extends Object
implements jakarta.validation.ConstraintValidator<ValidateNetworkInterfaceControllerSaveDto,NetworkInterfaceControllerSaveDto>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isAdapterNameValid
(NetworkInterfaceControllerSaveDto value, jakarta.validation.ConstraintValidatorContext context) boolean
isMacValid
(NetworkInterfaceControllerSaveDto value, jakarta.validation.ConstraintValidatorContext context) boolean
isNameValid
(NetworkInterfaceControllerSaveDto value, jakarta.validation.ConstraintValidatorContext context) boolean
isNetworkHostValid
(NetworkInterfaceControllerSaveDto value, jakarta.validation.ConstraintValidatorContext context) boolean
isValid
(NetworkInterfaceControllerSaveDto 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
-
ValidateNetworkInterfaceControllerSaveDtoImpl
public ValidateNetworkInterfaceControllerSaveDtoImpl()
-
-
Method Details
-
isValid
public boolean isValid(NetworkInterfaceControllerSaveDto value, jakarta.validation.ConstraintValidatorContext context) - Specified by:
isValid
in interfacejakarta.validation.ConstraintValidator<ValidateNetworkInterfaceControllerSaveDto,
NetworkInterfaceControllerSaveDto>
-
isNameValid
public boolean isNameValid(NetworkInterfaceControllerSaveDto value, jakarta.validation.ConstraintValidatorContext context) -
isMacValid
public boolean isMacValid(NetworkInterfaceControllerSaveDto value, jakarta.validation.ConstraintValidatorContext context) -
isNetworkHostValid
public boolean isNetworkHostValid(NetworkInterfaceControllerSaveDto value, jakarta.validation.ConstraintValidatorContext context) -
isAdapterNameValid
public boolean isAdapterNameValid(NetworkInterfaceControllerSaveDto value, jakarta.validation.ConstraintValidatorContext context)
-