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

    • DEFAULT

      public static final RunLevel DEFAULT
    • BULKLOAD

      public static final RunLevel BULKLOAD
    • DEVEL

      public static final RunLevel DEVEL
    • DEMO

      public static final RunLevel DEMO
    • UPDATED

      public static final RunLevel UPDATED
    • SLAVE

      public static final RunLevel SLAVE
  • Method Details

    • values

      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

      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

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

      public static RunLevel current()
    • fromString

      public static RunLevel fromString(String event)
    • aspectEnabled

      public boolean aspectEnabled(String aspect)
    • setAspect

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

      public boolean isDefault()
    • isDemo

      public boolean isDemo()
    • isBulkload

      public boolean isBulkload()
    • isDevel

      public boolean isDevel()
    • getAspects

      public static List<String> getAspects()