Enum Class RunLevel

java.lang.Object
java.lang.Enum<RunLevel>
com.logicaldoc.core.RunLevel
All Implemented Interfaces:
Serializable, Comparable<RunLevel>, Constable

public enum RunLevel extends Enum<RunLevel>
Represents an operative status of the whole application. Different aspects are enabled depending on the current runlevel.
Since:
7.6.4
Author:
Marco Meschieri - LogicalDOC
  • Enum Constant Details Link icon

    • DEFAULT Link icon

      public static final RunLevel DEFAULT
    • BULKLOAD Link icon

      public static final RunLevel BULKLOAD
    • DEVEL Link icon

      public static final RunLevel DEVEL
    • DEMO Link icon

      public static final RunLevel DEMO
    • UPDATED Link icon

      public static final RunLevel UPDATED
    • SLAVE Link icon

      public static final RunLevel SLAVE
  • Method Details Link icon

    • values Link icon

      public static RunLevel[] 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 Link icon

      public static RunLevel 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
    • toString Link icon

      public String toString()
      Overrides:
      toString in class Enum<RunLevel>
    • current Link icon

      public static RunLevel current()
    • fromString Link icon

      public static RunLevel fromString(String event)
    • aspectEnabled Link icon

      public boolean aspectEnabled(String aspect)
    • setAspect Link icon

      public void setAspect(String aspect, boolean enabled)
    • isDefault Link icon

      public boolean isDefault()
    • isDemo Link icon

      public boolean isDemo()
    • isBulkload Link icon

      public boolean isBulkload()
    • isDevel Link icon

      public boolean isDevel()
    • getAspects Link icon

      public static List<String> getAspects()