Enum Targets.Option

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<Targets.Option>
    Enclosing class:
    Targets

    public static enum Targets.Option
    extends java.lang.Enum<Targets.Option>
    • Field Detail

      • value

        private final java.lang.String value
      • description

        private final java.lang.String description
      • extension

        private final java.lang.String extension
      • convertToPath

        private final boolean convertToPath
      • usesPreviousDsl

        private final boolean usesPreviousDsl
    • Constructor Detail

      • Option

        private Option​(java.lang.String value,
                       java.lang.String description,
                       java.lang.String extension,
                       BuildAction action,
                       boolean convertToPath,
                       boolean usesPreviousDsl)
    • Method Detail

      • values

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

        public static Targets.Option 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
      • from

        private static Targets.Option from​(java.lang.String value)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Enum<Targets.Option>