Enum Class Project.MediaNotTranslatedStrategy
java.lang.Object
java.lang.Enum<Project.MediaNotTranslatedStrategy>
de.espirit.firstspirit.access.project.Project.MediaNotTranslatedStrategy
- All Implemented Interfaces:
Serializable
,Comparable<Project.MediaNotTranslatedStrategy>
,Constable
- Enclosing interface:
- Project
public static enum Project.MediaNotTranslatedStrategy
extends Enum<Project.MediaNotTranslatedStrategy>
Fallback strategy when an untranslated medium is generated
- Since:
- 5.2.220208
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionIgnore untranslated mediumUse medium of project master language -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static Project.MediaNotTranslatedStrategy[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
IGNORE
Ignore untranslated medium- Since:
- 5.2.220208
-
USE_MASTER_LANGUAGE
Use medium of project master language- Since:
- 5.2.220208
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-