public static enum UnixTerminal.Behaviour extends Enum<UnixTerminal.Behaviour>
Enum Constant and Description |
---|
CTRL_C_KILLS_APPLICATION
Pressing ctrl+c will restore the terminal and kill the application
|
DEFAULT
Pressing ctrl+c doesn't kill the application, it will be added to the input queue as usual
|
Modifier and Type | Method and Description |
---|---|
static UnixTerminal.Behaviour |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UnixTerminal.Behaviour[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UnixTerminal.Behaviour DEFAULT
public static final UnixTerminal.Behaviour CTRL_C_KILLS_APPLICATION
public static UnixTerminal.Behaviour[] values()
for (UnixTerminal.Behaviour c : UnixTerminal.Behaviour.values()) System.out.println(c);
public static UnixTerminal.Behaviour 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 © 2015. All Rights Reserved.