/** * Checks to see if the attribute is a valid attribute for the operation. This is useful to determine if the running * container supports an attribute for the version running. * * <p> * This is the same as executing {@link #isOperationAttributeSupported(ModelNode, String, String) isOperationAttriubuteSupported(null, operationName, attributeName)} * </p> * * @param operationName the operation name * @param attributeName the attribute name * * @return {@code true} if the attribute is supported or {@code false} if the attribute was not found on the * operation description * * @throws IOException if an error occurs while attempting to execute the operation * @throws IllegalStateException if the operation fails */ protected boolean isOperationAttributeSupported(final String operationName, final String attributeName) throws IOException { return isOperationAttributeSupported(null, operationName, attributeName); }
/** * Checks to see if the attribute is a valid attribute for the operation. This is useful to determine if the running * container supports an attribute for the version running. * * <p> * This is the same as executing {@link #isOperationAttributeSupported(ModelNode, String, String) isOperationAttriubuteSupported(null, operationName, attributeName)} * </p> * * @param operationName the operation name * @param attributeName the attribute name * * @return {@code true} if the attribute is supported or {@code false} if the attribute was not found on the * operation description * * @throws IOException if an error occurs while attempting to execute the operation * @throws IllegalStateException if the operation fails */ protected boolean isOperationAttributeSupported(final String operationName, final String attributeName) throws IOException { return isOperationAttributeSupported(null, operationName, attributeName); }