Package net.hydromatic.morel.eval
Enum Session.Shells
- All Implemented Interfaces:
Serializable,Comparable<Session.Shells>,java.lang.constant.Constable,Session.Shell
- Enclosing class:
Session
Various implementations of
Session.Shell.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidstatic Session.ShellsReturns the enum constant of this type with the specified name.static Session.Shells[]values()Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface net.hydromatic.morel.eval.Session.Shell
handle
-
Enum Constant Details
-
INSTANCE
Default instance of Shell. -
BARF
Instance of Shell that does not handle exceptions.
-
-
Constructor Details
-
Shells
private Shells()
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
use
- Specified by:
usein interfaceSession.Shell
-