Enum Class NodeFeature

java.lang.Object
java.lang.Enum<NodeFeature>
com.gentics.contentnode.rest.model.NodeFeature
All Implemented Interfaces:
Serializable, Comparable<NodeFeature>, java.lang.constant.Constable

public enum NodeFeature extends Enum<NodeFeature>
Features that can be activated per node
  • Enum Constant Details

    • contentfile_auto_offline

      public static final NodeFeature contentfile_auto_offline
      If this feature is activated, images and files that are not used by other objects (pages or folders), will not be published
    • always_localize

      public static final NodeFeature always_localize
      If this feature is activated, the backend will not ask if it should localize or edit the inherited object, but it will just localize it.'
    • disable_instant_delete

      public static final NodeFeature disable_instant_delete
      If this feature is activated, during instant publishing, pages will not be removed from the content repository
    • publish_folder_startpage

      public static final NodeFeature publish_folder_startpage
      If this feature is activated, the startpage of parentfolders of instant published pages will also be published during instant publish runs
    • live_urls_per_node

      public static final NodeFeature live_urls_per_node
      If this feature is activated live urls will be shown for objects in the node
    • forms

      public static final NodeFeature forms
      When this feature is activated, the node may contain forms
    • asset_management

      public static final NodeFeature asset_management
      With this feature, the node has additional asset management enabled (which must be configured)
    • webp_conversion

      public static final NodeFeature webp_conversion
      If this feature is activated, uploaded images are automatically converted to WebP.
    • upload_file_properties

      public static final NodeFeature upload_file_properties
    • upload_image_properties

      public static final NodeFeature upload_image_properties
      With this feature, the properties editor will immediately open upon uploading a new image.
  • Method Details

    • values

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