Class ElementMaxOccurrenceValidationStepHandler

java.lang.Object
org.wildfly.extension.picketlink.common.model.validator.ElementMaxOccurrenceValidationStepHandler
All Implemented Interfaces:
org.jboss.as.controller.OperationStepHandler, ModelValidationStepHandler
Direct Known Subclasses:
IdentityProviderValidationStepHandler

public class ElementMaxOccurrenceValidationStepHandler extends Object implements ModelValidationStepHandler
Author:
Pedro Igor
  • Constructor Details

    • ElementMaxOccurrenceValidationStepHandler

      public ElementMaxOccurrenceValidationStepHandler(ModelElement element, ModelElement parentElement, int maxOccurs)
  • Method Details

    • 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
    • validateOccurrence

      protected void validateOccurrence(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode operation) throws org.jboss.as.controller.OperationFailedException
      Throws:
      org.jboss.as.controller.OperationFailedException