Package org.opencms.ade.contenteditor
Enum CmsContentTypeVisitor.EvaluationRule
- java.lang.Object
-
- java.lang.Enum<CmsContentTypeVisitor.EvaluationRule>
-
- org.opencms.ade.contenteditor.CmsContentTypeVisitor.EvaluationRule
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CmsContentTypeVisitor.EvaluationRule>
- Enclosing class:
- CmsContentTypeVisitor
protected static enum CmsContentTypeVisitor.EvaluationRule extends java.lang.Enum<CmsContentTypeVisitor.EvaluationRule>
Widget display type evaluation rules.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description labelLength
Label length rule.none
No rule applied.optional
Optional field rule.rootLevel
Root level rule.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CmsContentTypeVisitor.EvaluationRule
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CmsContentTypeVisitor.EvaluationRule[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
labelLength
public static final CmsContentTypeVisitor.EvaluationRule labelLength
Label length rule.
-
none
public static final CmsContentTypeVisitor.EvaluationRule none
No rule applied.
-
optional
public static final CmsContentTypeVisitor.EvaluationRule optional
Optional field rule.
-
rootLevel
public static final CmsContentTypeVisitor.EvaluationRule rootLevel
Root level rule.
-
-
Method Detail
-
values
public static CmsContentTypeVisitor.EvaluationRule[] 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 (CmsContentTypeVisitor.EvaluationRule c : CmsContentTypeVisitor.EvaluationRule.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CmsContentTypeVisitor.EvaluationRule valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-