Package org.aesh.readline
Class ReadlineFlags
java.lang.Object
org.aesh.readline.ReadlineFlags
Utility class for creating common combinations of
ReadlineFlag values.-
Method Summary
Modifier and TypeMethodDescriptionstatic EnumSet<ReadlineFlag> all()Creates a set containing all readline flags.static EnumSet<ReadlineFlag> none()Creates an empty set of readline flags.static EnumSet<ReadlineFlag> of(ReadlineFlag first, ReadlineFlag... rest) Creates a set containing the specified readline flags.
-
Method Details
-
none
Creates an empty set of readline flags.- Returns:
- an empty EnumSet of ReadlineFlag
-
of
Creates a set containing the specified readline flags.- Parameters:
first- the first flagrest- additional flags- Returns:
- an EnumSet containing the specified flags
-
all
Creates a set containing all readline flags.- Returns:
- an EnumSet containing all ReadlineFlag values
-