public enum ConsoleOperation extends Enum<ConsoleOperation>
| Enum Constant and Description |
|---|
ADD_VERSION
Adiciona versão de algoritmo.
|
ADMIN
Função admin.
|
CHECK_BUNDLES
Função check bundles.
|
CREATE_ALGORITHM
Cria algoritmo.
|
DIAGNOSTICS
Função diagnostics.
|
LIST_CATEGORIES
Lista categorias de algoritmos.
|
LIST_VERSIONS
Lista versão de algoritmo.
|
REMOVE_ALGORITHM
Remove algoritmo.
|
REMOVE_VERSION
Remove versão de algoritmo.
|
STATISTICS
Função statistics.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCommandDescription()
Obtém descrição do comando.
|
String |
getCommandName()
Obtém nome do comando.
|
static ConsoleOperation |
getOperationFromName(String command)
Obtém operação sobre algoritmos a partir do nome.
|
static ConsoleOperation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConsoleOperation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConsoleOperation ADMIN
public static final ConsoleOperation DIAGNOSTICS
public static final ConsoleOperation CHECK_BUNDLES
public static final ConsoleOperation STATISTICS
public static final ConsoleOperation CREATE_ALGORITHM
public static final ConsoleOperation REMOVE_ALGORITHM
public static final ConsoleOperation ADD_VERSION
public static final ConsoleOperation REMOVE_VERSION
public static final ConsoleOperation LIST_VERSIONS
public static final ConsoleOperation LIST_CATEGORIES
public static ConsoleOperation[] values()
for (ConsoleOperation c : ConsoleOperation.values()) System.out.println(c);
public static ConsoleOperation 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 getCommandName()
public String getCommandDescription()
public static ConsoleOperation getOperationFromName(String command)
command - Nome da operação.Copyright © 2016. All rights reserved.