public static enum InstallCommand.Options extends Enum<InstallCommand.Options>
Enum Constant and Description |
---|
HELP |
SETUP |
SETUP_DEBUG |
Modifier and Type | Method and Description |
---|---|
boolean |
equalsOptionName(String otherName) |
static InstallCommand.Options |
fromName(String name) |
String |
getOptionName() |
static InstallCommand.Options |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InstallCommand.Options[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InstallCommand.Options HELP
public static final InstallCommand.Options SETUP
public static final InstallCommand.Options SETUP_DEBUG
public static InstallCommand.Options[] values()
for (InstallCommand.Options c : InstallCommand.Options.values()) System.out.println(c);
public static InstallCommand.Options 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 getOptionName()
public boolean equalsOptionName(String otherName)
public static InstallCommand.Options fromName(String name)
Copyright © 2010–2023 The Apache Software Foundation. All rights reserved.