Package org.opencms.i18n
Enum CmsLocaleGroupService.Status
- All Implemented Interfaces:
Serializable
,Comparable<CmsLocaleGroupService.Status>
,java.lang.constant.Constable
- Enclosing class:
- CmsLocaleGroupService
Enum representing whether two resources can be linked together in a locale group.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionResource already linked.Resource linkable to locale group.Resource to link has a locale which is marked as 'do not translate' on the locale group.Other reason that resource can't be linked to locale group. -
Method Summary
Modifier and TypeMethodDescriptionstatic CmsLocaleGroupService.Status
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 Details
-
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 Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-