Enum Class ContextStack.TranslateMode
java.lang.Object
java.lang.Enum<ContextStack.TranslateMode>
net.ssehub.easy.reasoning.sseReasoner.model.ContextStack.TranslateMode
- All Implemented Interfaces:
Serializable,Comparable<ContextStack.TranslateMode>,Constable
- Enclosing class:
ContextStack
(Compound) Translation mode for active type caches. [type cache]
- Author:
- Holger Eichelberger
-
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 TypeMethodDescriptionstatic ContextStack.TranslateModeReturns the enum constant of this class with the specified name.static ContextStack.TranslateMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NOTHING
Do nothing, i.e., create a context and go on. -
REGISTER
Register mappings as without type cache. -
TRANSFER
Transfer existing mappings instead of creating new ones.
-
-
Constructor Details
-
TranslateMode
private TranslateMode()
-
-
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
-