Enum Class From

java.lang.Object
java.lang.Enum<From>
net.hyshan.hou.starter.log.annotation.From
All Implemented Interfaces:
Serializable, Comparable<From>, Constable

public enum From extends Enum<From>
属于特定类型的方法,或者时特定业务分层的方法
  • Enum Constant Details

    • DEFAULT

      public static final From DEFAULT
    • API

      public static final From API
    • SERVICE

      public static final From SERVICE
    • DAO

      public static final From DAO
    • DB

      public static final From DB
    • CLIENT

      public static final From CLIENT
  • Method Details

    • values

      public static From[] 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 From 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