Enum Class WebStack

java.lang.Object
java.lang.Enum<WebStack>
org.springframework.hateoas.support.WebStack
All Implemented Interfaces:
Serializable, Comparable<WebStack>, Constable

public enum WebStack extends Enum<WebStack>
Utility to glean what web stack is currently available.
Author:
Greg Turnquist
  • Enum Constant Details

    • WEBMVC

      public static final WebStack WEBMVC
    • WEBFLUX

      public static final WebStack WEBFLUX
  • Method Details

    • values

      public static WebStack[] 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 WebStack 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
    • getAvailableConfigurations

      public List<String> getAvailableConfigurations()
      Based on what client/server components are on the classpath, return what configuration classes should be registered.