Enum Class GeneratedFiles.Kind

All Implemented Interfaces:
Serializable, Comparable<GeneratedFiles.Kind>, Constable
Enclosing interface:

public static enum GeneratedFiles.Kind extends Enum<GeneratedFiles.Kind>
The various kinds of generated files that are supported.
  • Enum Constant Details

    • SOURCE

      public static final GeneratedFiles.Kind SOURCE
      A source file containing Java code that should be compiled.

      public static final GeneratedFiles.Kind RESOURCE
      A resource file that should be directly added to the final application. For example, a .properties file.
    • CLASS

      public static final GeneratedFiles.Kind CLASS
      A class file containing bytecode. For example, the result of a proxy generated using CGLIB.
  • Method Details

    • values

      public static GeneratedFiles.Kind[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static GeneratedFiles.Kind valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      name - the name of the enum constant to be returned.
      the enum constant with the specified name
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null