Package com.buildless.service.v1
Class ProjectReferenceValidator
java.lang.Object
com.buildless.service.v1.ProjectReferenceValidator
- All Implemented Interfaces:
io.envoyproxy.pgv.ValidatorImpl<ProjectReference>
public class ProjectReferenceValidator
extends Object
implements io.envoyproxy.pgv.ValidatorImpl<ProjectReference>
Validates
ProjectReference protobuf objects.-
Field Summary
Fields inherited from interface io.envoyproxy.pgv.ValidatorImpl
ALWAYS_VALID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidassertValid(ProjectReference proto, io.envoyproxy.pgv.ValidatorIndex index) static io.envoyproxy.pgv.ValidatorImplvalidatorFor(Class clazz)
-
Constructor Details
-
ProjectReferenceValidator
public ProjectReferenceValidator()
-
-
Method Details
-
validatorFor
-
assertValid
public void assertValid(ProjectReference proto, io.envoyproxy.pgv.ValidatorIndex index) throws io.envoyproxy.pgv.ValidationException - Specified by:
assertValidin interfaceio.envoyproxy.pgv.ValidatorImpl<ProjectReference>- Throws:
io.envoyproxy.pgv.ValidationException
-