public static enum APIOption.APIOptionKind extends Enum<APIOption.APIOptionKind>
APIOption
gets rewritten to its
Option
counterpart.Enum Constant and Description |
---|
Default
A boolean
Option gets passed as
-{H,R}:+<OptionDescriptor#name> . |
Negated
A boolean
Option gets passed as
-{H,R}:-<OptionDescriptor#name> . |
Paths
Denotes that the annotated
String option represents a file system path. |
Modifier and Type | Method and Description |
---|---|
static APIOption.APIOptionKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static APIOption.APIOptionKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final APIOption.APIOptionKind Default
Option
gets passed as
-{H,R}:+<OptionDescriptor#name>
. For other options if there is a
substring after =
, it gets appended to
-{H,R}:<OptionDescriptor#name>=
.public static final APIOption.APIOptionKind Negated
Option
gets passed as
-{H,R}:-<OptionDescriptor#name>
. For other options using
Negated
is not allowed.public static final APIOption.APIOptionKind Paths
String
option represents a file system path. If the
option value is not an absolute path, it will be resolved against the current working
directory in which the native image tool is executed.public static APIOption.APIOptionKind[] values()
public static APIOption.APIOptionKind 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 null