Enum Class RoutePointType

java.lang.Object
java.lang.Enum<RoutePointType>
com.melluh.servertours.api.object.RoutePointType
All Implemented Interfaces:
LocalizableEnum, Serializable, Comparable<RoutePointType>, Constable

public enum RoutePointType extends Enum<RoutePointType> implements LocalizableEnum
  • Enum Constant Details

  • Method Details

    • values

      public static RoutePointType[] 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 RoutePointType 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
    • getName

      public String getName()
      Specified by:
      getName in interface LocalizableEnum
    • getDescription

      public String getDescription()
      Specified by:
      getDescription in interface LocalizableEnum
    • isConfirmUponEnter

      public boolean isConfirmUponEnter()
      Whether the touring player should be asked for confirmation to continue upon entering the route point, or upon leaving the route point.
      Returns:
      true for confirm upon enter, false for confirm upon exit