@ Deprecated public void validateOperation ( final ModelNode operation ) throws OperationFailedException { if ( operation . hasDefined ( ModelDescriptionConstants . OPERATION_NAME ) && deprecationData != null && deprecationData . isNotificationUseful ( ) ) { ControllerLogger . DEPRECATED_LOGGER . operationDeprecated ( getName ( ) , PathAddress . pathAddress ( operation . get ( ModelDescriptionConstants . OP_ADDR ) ) . toCLIStyleString ( ) ) ; } for ( AttributeDefinition ad : this . parameters ) { ad . validateOperation ( operation ) ; } }
Validates operation model against the definition and its parameters