Enum Class Framework

java.lang.Object
java.lang.Enum<Framework>
io.github.josemodi97.sageactive4j.scaffold.Framework
All Implemented Interfaces:
Serializable, Comparable<Framework>, Constable

public enum Framework extends Enum<Framework>
The project types the init goal / sageactive4jInit task can scaffold for, each with the sageactive4j artifact its example needs.
  • Enum Constant Details

    • PLAIN

      public static final Framework PLAIN
    • SERVLET

      public static final Framework SERVLET
    • JAKARTA

      public static final Framework JAKARTA
    • SPRING_BOOT2

      public static final Framework SPRING_BOOT2
    • SPRING_BOOT3

      public static final Framework SPRING_BOOT3
  • Field Details

  • Method Details

    • values

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

      public static Framework 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.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • id

      public String id()
      The value users pass on the command line, e.g. spring-boot3.
    • artifactId

      public String artifactId()
      The sageactive4j artifact the generated example compiles against.
    • isSpringBoot

      public boolean isSpringBoot()
    • fromId

      public static Framework fromId(String value)
      Throws:
      IllegalArgumentException - naming the supported values
    • supportedIds

      public static String supportedIds()