public class OperationValidator extends Object
| Constructor and Description |
|---|
OperationValidator(ImmutableManagementResourceRegistration root) |
OperationValidator(ImmutableManagementResourceRegistration root,
boolean validateDescriptions,
boolean includeOperationInError) |
OperationValidator(ImmutableManagementResourceRegistration root,
boolean validateDescriptions,
boolean includeOperationInError,
boolean exitOnError) |
| Modifier and Type | Method and Description |
|---|---|
void |
validateOperation(org.jboss.dmr.ModelNode operation)
Validates an operation against its description provider
|
void |
validateOperations(List<org.jboss.dmr.ModelNode> operations)
Validates operations against their description providers
|
public OperationValidator(ImmutableManagementResourceRegistration root)
public OperationValidator(ImmutableManagementResourceRegistration root, boolean validateDescriptions, boolean includeOperationInError)
public OperationValidator(ImmutableManagementResourceRegistration root, boolean validateDescriptions, boolean includeOperationInError, boolean exitOnError)
public void validateOperations(List<org.jboss.dmr.ModelNode> operations)
operations - The operations to validateIllegalArgumentException - if any operation is not validpublic void validateOperation(org.jboss.dmr.ModelNode operation)
operation - The operation to validateIllegalArgumentException - if the operation is not validCopyright © 2016 JBoss by Red Hat. All rights reserved.