public static class ModelTestModelDescriptionValidator.ValidationConfiguration extends Object
| Constructor and Description |
|---|
ValidationConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
void |
allowNullValueTypeForAttribute(org.jboss.dmr.ModelNode address,
String name)
Allow undefined value-types for an OBJECT or LIST type attribute.
|
void |
allowNullValueTypeForOperation(org.jboss.dmr.ModelNode address,
String operation)
Allow undefined value-types for OBJECT or LIST type for all parameters and return types for an operation.
|
void |
allowNullValueTypeForOperationParameter(org.jboss.dmr.ModelNode address,
String operation,
String param)
Allow undefined value-types for OBJECT or LIST type for an operation's parameter.
|
void |
allowNullValueTypeForOperationReplyProperties(org.jboss.dmr.ModelNode address,
String operation)
Allow undefined value-types for OBJECT or LIST type for an operation's reply-properties.
|
void |
registerArbitraryDescriptorForOperation(org.jboss.dmr.ModelNode address,
String operation,
String descriptor,
ModelTestModelDescriptionValidator.AttributeOrParameterArbitraryDescriptorValidator validator)
Register an additional arbitrary descriptor for all of an operation's parameters and reply properties
|
void |
registerArbitraryDescriptorForOperationParameter(org.jboss.dmr.ModelNode address,
String operation,
String parameter,
String descriptor,
ModelTestModelDescriptionValidator.AttributeOrParameterArbitraryDescriptorValidator validator)
Register an additional arbitrary descriptor for an operation's parameter
|
void |
registerArbitraryDescriptorForOperationReplyProperties(org.jboss.dmr.ModelNode address,
String operation,
String descriptor,
ModelTestModelDescriptionValidator.AttributeOrParameterArbitraryDescriptorValidator validator)
Register an additional arbitrary descriptor for an operation's reply properties
|
void |
registerAttributeArbitraryDescriptor(org.jboss.dmr.ModelNode address,
String name,
String descriptor,
ModelTestModelDescriptionValidator.AttributeOrParameterArbitraryDescriptorValidator validator)
Register an additional arbitrary descriptor for an attribute
|
public void allowNullValueTypeForAttribute(org.jboss.dmr.ModelNode address,
String name)
address - the address of the attributename - the name of the attributepublic void allowNullValueTypeForOperation(org.jboss.dmr.ModelNode address,
String operation)
address - the address of the operationoperation - the name of the operationpublic void allowNullValueTypeForOperationReplyProperties(org.jboss.dmr.ModelNode address,
String operation)
address - the address of the operationoperation - the name of the operationpublic void allowNullValueTypeForOperationParameter(org.jboss.dmr.ModelNode address,
String operation,
String param)
address - the address of the operationoperation - the name of the operationparam - the name of the parameterpublic void registerAttributeArbitraryDescriptor(org.jboss.dmr.ModelNode address,
String name,
String descriptor,
ModelTestModelDescriptionValidator.AttributeOrParameterArbitraryDescriptorValidator validator)
address - the address of the attributename - the name of the attributedescriptor - the arbitrary descriptor to register for the attributevalidator - an implementation of a validator, may be nullpublic void registerArbitraryDescriptorForOperation(org.jboss.dmr.ModelNode address,
String operation,
String descriptor,
ModelTestModelDescriptionValidator.AttributeOrParameterArbitraryDescriptorValidator validator)
address - the address of the operationoperation - the name of the operationdescriptor - the arbitrary descriptor to register for the operation's parametersvalidator - an implementation of a validator, may be nullpublic void registerArbitraryDescriptorForOperationReplyProperties(org.jboss.dmr.ModelNode address,
String operation,
String descriptor,
ModelTestModelDescriptionValidator.AttributeOrParameterArbitraryDescriptorValidator validator)
address - the address of the operationoperation - the name of the operationdescriptor - the arbitrary descriptor to register for the operation's parametersvalidator - an implementation of a validator, may be nullpublic void registerArbitraryDescriptorForOperationParameter(org.jboss.dmr.ModelNode address,
String operation,
String parameter,
String descriptor,
ModelTestModelDescriptionValidator.AttributeOrParameterArbitraryDescriptorValidator validator)
address - the address of the operationoperation - the name of the operationparameter - the name of the parameterdescriptor - the arbitrary descriptor to register for the operation's parametersvalidator - an implementation of a validator, may be nullCopyright © 2016 JBoss by Red Hat. All rights reserved.