Package org.opencms.i18n
Enum CmsLocaleGroupService.Status
- java.lang.Object
-
- java.lang.Enum<CmsLocaleGroupService.Status>
-
- org.opencms.i18n.CmsLocaleGroupService.Status
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CmsLocaleGroupService.Status>
- Enclosing class:
- CmsLocaleGroupService
public static enum CmsLocaleGroupService.Status extends java.lang.Enum<CmsLocaleGroupService.Status>
Enum representing whether two resources can be linked together in a locale group.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description alreadyLinked
Resource already linked.linkable
Resource linkable to locale group.notranslation
Resource to link has a locale which is marked as 'do not translate' on the locale group.other
Other reason that resource can't be linked to locale group.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CmsLocaleGroupService.Status
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CmsLocaleGroupService.Status[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
alreadyLinked
public static final CmsLocaleGroupService.Status alreadyLinked
Resource already linked.
-
linkable
public static final CmsLocaleGroupService.Status linkable
Resource linkable to locale group.
-
notranslation
public static final CmsLocaleGroupService.Status notranslation
Resource to link has a locale which is marked as 'do not translate' on the locale group.
-
other
public static final CmsLocaleGroupService.Status other
Other reason that resource can't be linked to locale group.
-
-
Method Detail
-
values
public static CmsLocaleGroupService.Status[] 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 (CmsLocaleGroupService.Status c : CmsLocaleGroupService.Status.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CmsLocaleGroupService.Status 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
-
-