Enum Class ServerMode

java.lang.Object
java.lang.Enum<ServerMode>
org.alfresco.repo.mode.ServerMode
All Implemented Interfaces:
Serializable, Comparable<ServerMode>, Constable

public enum ServerMode extends Enum<ServerMode>
  • Enum Constant Details

    • UNKNOWN

      public static final ServerMode UNKNOWN
      This server is in an unknown mode, no value has been set in alfresco-global.properties
    • TEST

      public static final ServerMode TEST
      This is a test server
    • BACKUP

      public static final ServerMode BACKUP
      This is a backup of a production server
    • PRODUCTION

      public static final ServerMode PRODUCTION
      This is a production server
  • Method Details

    • values

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