Package org.jboss.as.model.test
Interface ModelTestModelDescriptionValidator.AttributeOrParameterArbitraryDescriptorValidator
- Enclosing class:
- ModelTestModelDescriptionValidator
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public static interface ModelTestModelDescriptionValidator.AttributeOrParameterArbitraryDescriptorValidator
Validate an attribute or parameter descriptor
-
Method Summary
-
Method Details
-
validate
String validate(org.jboss.dmr.ModelType currentType, org.jboss.dmr.ModelNode currentNode, String descriptor) Validate an attribute or parameter descriptor- Parameters:
currentType- the type of the parameter/attributecurrentNode- the current attribute or parameterdescriptor- the current descriptor being validated- Returns:
nullif it passed validation, or an error message describing the problem
-