Class AbacProvider.Builder

    • Method Detail

      • configuration

        public AbacProvider.Builder configuration​(Config config)
        Configuration to use for validator instances. This builder is NOT updated from the provided config, use config(Config) to update this builder.
        Parameters:
        config - configuration
        Returns:
        updated builder instance
      • failOnUnvalidated

        public AbacProvider.Builder failOnUnvalidated​(boolean failOnUnvalidated)
        Whether to fail if any attribute is left unvalidated.
        Parameters:
        failOnUnvalidated - true for failure on unvalidated, false if it is OK to fail some of the validations
        Returns:
        updated builder instance
      • failIfNoneValidated

        public AbacProvider.Builder failIfNoneValidated​(boolean failIfNoneValidated)
        Whether to fail if NONE of the attributes is validated.
        Parameters:
        failIfNoneValidated - true for failure on unvalidated, false if it is OK not to validate any attribute
        Returns:
        updated builder instance