Enum Class ServerType

java.lang.Object
java.lang.Enum<ServerType>
org.serviceconnector.server.ServerType
All Implemented Interfaces:
Serializable, Comparable<ServerType>, Constable, IReversibleEnum<String,ServerType>

public enum ServerType extends Enum<ServerType> implements IReversibleEnum<String,ServerType>
Author:
JTraber
  • Enum Constant Details

    • STATEFUL_SERVER

      public static final ServerType STATEFUL_SERVER
      The STATEFUL_SERVER.
    • FILE_SERVER

      public static final ServerType FILE_SERVER
      The FILE_SERVER.
    • WEB_SERVER

      public static final ServerType WEB_SERVER
      The WEB_SERVER.
    • CASCADED_SC

      public static final ServerType CASCADED_SC
      The CASCADED_SC.
    • UNDEFINED

      public static final ServerType UNDEFINED
      The UNDEFINED.
  • Method Details

    • values

      public static ServerType[] 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 ServerType 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
    • getType

      public static ServerType getType(String typeString)
      Gets the type.
      Parameters:
      typeString - the type string
      Returns:
      the type
    • getValue

      public String getValue()
      Description copied from interface: IReversibleEnum
      Return the value/code of the enum constant.
      Specified by:
      getValue in interface IReversibleEnum<String,ServerType>
      Returns:
      value
    • reverse

      public ServerType reverse(String typeString)
      Description copied from interface: IReversibleEnum
      Get the Enum constant by looking up the code in the reverse enum map. *
      Specified by:
      reverse in interface IReversibleEnum<String,ServerType>
      Parameters:
      typeString - the code
      Returns:
      V - The enum constant