Enum CmsMessageBundleEditorTypes.BundleType
java.lang.Object
java.lang.Enum<CmsMessageBundleEditorTypes.BundleType>
org.opencms.ui.editors.messagebundle.CmsMessageBundleEditorTypes.BundleType
- All Implemented Interfaces:
Serializable
,Comparable<CmsMessageBundleEditorTypes.BundleType>
,java.lang.constant.Constable
- Enclosing class:
- CmsMessageBundleEditorTypes
public static enum CmsMessageBundleEditorTypes.BundleType
extends Enum<CmsMessageBundleEditorTypes.BundleType>
Types of bundles editable by the Editor.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA bundle descriptor.A bundle of type propertyvfsbundle.A bundle of type xmlvfsbundle. -
Method Summary
Modifier and TypeMethodDescriptiontoBundleType
(String value) An adjusted version of what is typically Enum.valueOf().toString()
Returns the enum constant of this type with the specified name.values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
PROPERTY
A bundle of type propertyvfsbundle. -
XML
A bundle of type xmlvfsbundle. -
DESCRIPTOR
A bundle descriptor.
-
-
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
-
toBundleType
An adjusted version of what is typically Enum.valueOf().- Parameters:
value
- the resource type name that should be transformed into BundleType- Returns:
- The bundle type for the resource type name, or null, if the resource has no bundle type.
-
toString
- Overrides:
toString
in classEnum<CmsMessageBundleEditorTypes.BundleType>
- See Also:
-