Package de.xima.fc.mdl.enums
Enum EPluginReplacementStatus
- All Implemented Interfaces:
Serializable
,Comparable<EPluginReplacementStatus>
Enumeration with the status of a placeholder replacement plugin. Indicates whether a plugin could resolve a
placeholder.
- Since:
- 8.0.0
- Author:
- XIMA MEDIA GmbH
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDeprecated.The placeholder could not be resolved.The placeholder could be resolved, the returned value should be used as the resolved value of the placeholder. -
Method Summary
Modifier and TypeMethodDescriptionstatic EPluginReplacementStatus
Returns the enum constant of this type with the specified name.static EPluginReplacementStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
REPLACED
The placeholder could be resolved, the returned value should be used as the resolved value of the placeholder. -
NOT_REPLACED
The placeholder could not be resolved. Other placeholder plugins should be attempted, and if no plugin can resolve the placeholder, placeholder resolution fails. -
LEGACY
Deprecated.For backwards compatibility only, use eitherREPLACED
orNOT_REPLACED
.Legacy mode for deciding whether the placeholder could be resolved. When the resolved value equals the placeholder content, the placeholder is treated as if it could not be resolved. Otherwise, it is treated as resolved.
-
-
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
-
REPLACED
orNOT_REPLACED
.