Class AlternativeAttributeCheckHandler

  • All Implemented Interfaces:
    org.jboss.as.controller.OperationStepHandler

    public final class AlternativeAttributeCheckHandler
    extends Object
    implements org.jboss.as.controller.OperationStepHandler
    • Constructor Detail

      • AlternativeAttributeCheckHandler

        public AlternativeAttributeCheckHandler​(org.jboss.as.controller.AttributeDefinition... definitions)
    • Method Detail

      • execute

        public void execute​(org.jboss.as.controller.OperationContext context,
                            org.jboss.dmr.ModelNode operation)
                     throws org.jboss.as.controller.OperationFailedException
        Specified by:
        execute in interface org.jboss.as.controller.OperationStepHandler
        Throws:
        org.jboss.as.controller.OperationFailedException
      • checkAlternatives

        public static void checkAlternatives​(org.jboss.dmr.ModelNode operation,
                                             String attr1,
                                             String attr2,
                                             boolean acceptNone)
                                      throws org.jboss.as.controller.OperationFailedException
        Throws:
        org.jboss.as.controller.OperationFailedException