Enum Class FWSimSession.APPLICATION_MODE
- All Implemented Interfaces:
Serializable, Comparable<FWSimSession.APPLICATION_MODE>, Constable
- Enclosing class:
FWSimSession
Mode the application runs in. It determines e.g. the default directories (see
FWSimEngine.getWorkDir())
and whether finished simulations are kept in memory (GUI and EXTERN).- Author:
- Andreas Enders
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionConsole ModeExternal mode, used bySimplaceWrapperGUI ModeGUI mode that only runs simulationsServer ModeUnitTest Mode -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static FWSimSession.APPLICATION_MODE[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
GUI
GUI Mode -
GUI_RUN_ONLY
GUI mode that only runs simulations -
UNIT_TEST
UnitTest Mode -
CONSOLE
Console Mode -
SERVER
Server Mode -
EXTERN
External mode, used bySimplaceWrapper
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-