com.gentics.contentnode.rest.model
Enum NodeFeature

java.lang.Object
  extended by java.lang.Enum<NodeFeature>
      extended by 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
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.'
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
disable_instant_delete
          If this feature is activated, during instant publishing, pages will not be removed from the content repository
 
Method Summary
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

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

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 name
NullPointerException - if the argument is null


Copyright © 2015 Gentics Software GmbH. All Rights Reserved.