Enum NodeFeature
- java.lang.Object
-
- java.lang.Enum<NodeFeature>
-
- com.gentics.contentnode.rest.model.NodeFeature
-
- All Implemented Interfaces:
Serializable
,Comparable<NodeFeature>
public enum NodeFeature extends Enum<NodeFeature>
Features that can be activated per node
-
-
Enum Constant Summary
Enum Constants Enum Constant Description 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.'asset_management
With this feature, the node has additional asset management enabled (which must be configured)contentfile_auto_offline
If this feature is activated, images and files that are not used by other objects (pages or folders), will not be publisheddisable_instant_delete
If this feature is activated, during instant publishing, pages will not be removed from the content repositoryforms
When this feature is activated, the node may contain formslink_checker
When this feature is activated, external URLs in pages of the node will be checked for validitylive_urls_per_node
If this feature is activated live urls will be shown for objects in the nodepublish_folder_startpage
If this feature is activated, the startpage of parentfolders of instant published pages will also be published during instant publish runs
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NodeFeature
valueOf(String name)
Returns the enum constant of this type with the specified name.static NodeFeature[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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
-
link_checker
public static final NodeFeature link_checker
When this feature is activated, external URLs in pages of the node will be checked for validity
-
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)
-
-
Method Detail
-
values
public static NodeFeature[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (NodeFeature c : NodeFeature.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NodeFeature valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-