Enum BaselineReplace

    • Enum Constant Detail

      • none

        public static final BaselineReplace none
        Do not replace build artifacts with baseline version.
      • common

        public static final BaselineReplace common
        Replace build artifacts with baseline version. Attached artifacts only present in the build are not removed and will likely result in inconsistencies among artifacts of the same project! Use as last resort when baseline does not contain all build artifacts.
      • all

        public static final BaselineReplace all
        Replace build artifacts with baseline version. Attached artifacts only present in the build are removed.
    • Method Detail

      • values

        public static BaselineReplace[] 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 (BaselineReplace c : BaselineReplace.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static BaselineReplace valueOf​(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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null