Enum BuildMode

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

    public enum BuildMode
    extends java.lang.Enum<BuildMode>
    • Enum Constant Detail

      • DEVELOP

        public static final BuildMode DEVELOP
      • REPRODUCIBLE

        public static final BuildMode REPRODUCIBLE
    • Method Detail

      • values

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

        public static BuildMode 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
      • getAbbr

        public java.lang.String getAbbr()
      • fromString

        @Nonnull
        public static BuildMode fromString​(@Nonnull
                                           java.lang.String string)
        Convert a string to an instance of BuildMode.
        Parameters:
        string - the string to be converted
        Returns:
        the instance of BuildMode
        Throws:
        java.lang.IllegalArgumentException - if the string cannot be converted