Package io.wcm.wcm.commons.component
Enum Class ComponentPropertyResolution
java.lang.Object
java.lang.Enum<ComponentPropertyResolution>
io.wcm.wcm.commons.component.ComponentPropertyResolution
- All Implemented Interfaces:
Serializable,Comparable<ComponentPropertyResolution>,java.lang.constant.Constable
Resolution mode for resolving component properties.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDo not resolve component property.Resolve component property without inheritance.Resolve component property with inheritance from parent pages / super components. -
Method Summary
Modifier and TypeMethodDescriptionstatic ComponentPropertyResolutionReturns the enum constant of this class with the specified name.static ComponentPropertyResolution[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
IGNORE
Do not resolve component property. -
RESOLVE
Resolve component property without inheritance. -
RESOLVE_INHERIT
Resolve component property with inheritance from parent pages / super components.
-
-
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
-