public enum Resolution extends Enum<Resolution>
The Enum.name will automatically be converted to lower case during macro
processing.
| Enum Constant and Description |
|---|
DEFAULT
Default element value for annotation.
|
MANDATORY
A mandatory requirement forbids the bundle to resolve when the
requirement is not satisfied.
|
OPTIONAL
An optional requirement allows a bundle to resolve even if the
requirement is not satisfied.
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static Resolution |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Resolution[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Resolution MANDATORY
public static final Resolution OPTIONAL
public static final Resolution DEFAULT
public static Resolution[] values()
for (Resolution c : Resolution.values()) System.out.println(c);
public static Resolution valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String toString()
toString in class Enum<Resolution>Copyright © 2021. All rights reserved.