Enum Class RenderingAgent.RenderMode

java.lang.Object
java.lang.Enum<RenderingAgent.RenderMode>
de.espirit.firstspirit.agency.RenderingAgent.RenderMode
All Implemented Interfaces:
Serializable, Comparable<RenderingAgent.RenderMode>, java.lang.constant.Constable
Enclosing interface:
RenderingAgent

public static enum RenderingAgent.RenderMode extends Enum<RenderingAgent.RenderMode>
Rendering mode, either PREVIEW, WEBEDIT, or DEFAULT.
Since:
5.2.1503
See Also:
  • Enum Constant Details

    • PREVIEW

      public static final RenderingAgent.RenderMode PREVIEW
      Preview mode: #global.isPreview delivers true, #global.is("WEBEDIT") delivers false.
      Since:
      5.2.1503
    • WEBEDIT

      public static final RenderingAgent.RenderMode WEBEDIT
      Content creator mode: #global.isPreview delivers true, #global.is("WEBEDIT") delivers true.
      Since:
      5.2.1503
    • DEFAULT

      public static final RenderingAgent.RenderMode DEFAULT
      Default mode, #global.isPreview delivers false, #global.is("WEBEDIT" delivers false.
      Since:
      5.2.1503
    • STRICT

      public static final RenderingAgent.RenderMode STRICT
      This mode is intended for isolated section rendering with maximum compatibility. If a section template relies on site effects of sections preceding the rendered section set this mode. Be aware that this mode is far more time-consuming than the default mode.
      Since:
      5.2.180704
  • Method Details

    • values

      public static RenderingAgent.RenderMode[] 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 RenderingAgent.RenderMode 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