Enum Class V1Post

java.lang.Object
java.lang.Enum<V1Post>
com.linkedin.venice.controllerapi.routes.V1Post
All Implemented Interfaces:
V1Route, Serializable, Comparable<V1Post>, Constable

public enum V1Post extends Enum<V1Post> implements V1Route
  • Enum Constant Details

    • STORE

      public static final V1Post STORE
    • VALUE_SCHEMA

      public static final V1Post VALUE_SCHEMA
    • VERSION

      public static final V1Post VERSION
  • Method Details

    • values

      public static V1Post[] 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 V1Post 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
    • getRawPath

      public String getRawPath()
      Description copied from interface: V1Route
      Path formatted with colons prefixing each path parameter for use in defining the path in SparkJava ex /user/:id
      Specified by:
      getRawPath in interface V1Route
      Returns:
    • getPathFormat

      public String getPathFormat()
      Description copied from interface: V1Route
      The actual format string with "%s" in place of parameters that will be substituted
      Specified by:
      getPathFormat in interface V1Route
      Returns:
    • getPathParams

      public String[] getPathParams()
      Specified by:
      getPathParams in interface V1Route
      Returns:
      an array of key strings required for path resolution
      See Also:
    • getBodyParams

      public String[] getBodyParams()