Enum ValidationId

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<ValidationId>

    public enum ValidationId
    extends java.lang.Enum<ValidationId>
    Ids of validations that can be overridden
    Author:
    bratseth
    • Enum Constant Detail

      • indexingChange

        public static final ValidationId indexingChange
      • indexModeChange

        public static final ValidationId indexModeChange
      • fieldTypeChange

        public static final ValidationId fieldTypeChange
      • clusterSizeReduction

        public static final ValidationId clusterSizeReduction
      • resourcesReduction

        public static final ValidationId resourcesReduction
      • contentTypeRemoval

        public static final ValidationId contentTypeRemoval
      • contentClusterRemoval

        public static final ValidationId contentClusterRemoval
      • deploymentRemoval

        public static final ValidationId deploymentRemoval
      • skipAutomaticTenantUpgradeTests

        public static final ValidationId skipAutomaticTenantUpgradeTests
      • globalDocumentChange

        public static final ValidationId globalDocumentChange
      • configModelVersionMismatch

        public static final ValidationId configModelVersionMismatch
      • skipOldConfigModels

        public static final ValidationId skipOldConfigModels
      • forceAutomaticTenantUpgradeTests

        public static final ValidationId forceAutomaticTenantUpgradeTests
      • accessControl

        public static final ValidationId accessControl
      • globalEndpointChange

        public static final ValidationId globalEndpointChange
    • Method Detail

      • values

        public static ValidationId[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ValidationId c : ValidationId.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ValidationId valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • value

        public java.lang.String value()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Enum<ValidationId>
      • from

        public static java.util.Optional<ValidationId> from​(java.lang.String id)
        Returns the validation id from this string. Use this instead of valueOf to match string on the (canonical) dash-separated form.
        Returns:
        the matching validation id or empty if none