Serializable
, Comparable<LineReader.SuggestionType>
public static enum LineReader.SuggestionType extends Enum<LineReader.SuggestionType>
Enum Constant | Description |
---|---|
COMPLETER |
Prepare command line suggestions using command completer data.
|
HISTORY |
Prepare command line suggestions using command history.
|
NONE |
As you type command line suggestions are disabled.
|
TAIL_TIP |
Prepare command line suggestions using command completer data and/or command positional argument descriptions.
|
Modifier and Type | Method | Description |
---|---|---|
static LineReader.SuggestionType |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static LineReader.SuggestionType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LineReader.SuggestionType NONE
public static final LineReader.SuggestionType HISTORY
public static final LineReader.SuggestionType COMPLETER
public static final LineReader.SuggestionType TAIL_TIP
public static LineReader.SuggestionType[] values()
for (LineReader.SuggestionType c : LineReader.SuggestionType.values()) System.out.println(c);
public static LineReader.SuggestionType 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 © 2020. All rights reserved.