public enum ParameterStrategy extends Enum<ParameterStrategy>
Enum Constant and Description |
---|
NAMED
The parameters are named
|
POSITIONAL
The parameters are positional
|
UNKNOWN
We do not (yet) know
|
Modifier and Type | Method and Description |
---|---|
static ParameterStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ParameterStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParameterStrategy NAMED
public static final ParameterStrategy POSITIONAL
public static final ParameterStrategy UNKNOWN
public static ParameterStrategy[] values()
for (ParameterStrategy c : ParameterStrategy.values()) System.out.println(c);
public static ParameterStrategy 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 nullCopyright © 2001-2022 Red Hat, Inc. All Rights Reserved.