Class ValidatorSettings

  • All Implemented Interfaces:
    Comparable<ValidatorSettings>, org.apache.jackrabbit.vault.validation.spi.ValidatorSettings

    public class ValidatorSettings
    extends Object
    implements org.apache.jackrabbit.vault.validation.spi.ValidatorSettings, Comparable<ValidatorSettings>
    Mutable implementation of org.apache.jackrabbit.vault.validation.spi.ValidatorSettings. Used as Mojo parameter type.
    • Constructor Detail

      • ValidatorSettings

        public ValidatorSettings()
    • Method Detail

      • getDefaultSeverity

        @NotNull
        public @NotNull org.apache.jackrabbit.vault.validation.spi.ValidationMessageSeverity getDefaultSeverity()
        Specified by:
        getDefaultSeverity in interface org.apache.jackrabbit.vault.validation.spi.ValidatorSettings
      • getOptions

        @NotNull
        public @NotNull Map<String,​String> getOptions()
        Specified by:
        getOptions in interface org.apache.jackrabbit.vault.validation.spi.ValidatorSettings
      • isDisabled

        public boolean isDisabled()
        Specified by:
        isDisabled in interface org.apache.jackrabbit.vault.validation.spi.ValidatorSettings
      • setIsDisabled

        public void setIsDisabled​(boolean isDisabled)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • isApplicable

        public boolean isApplicable​(org.apache.jackrabbit.vault.packaging.PackageId packageId,
                                    boolean isSubPackage)