Package io.openems.common.websocket
Enum Class AbstractWebsocketServer.DebugMode
java.lang.Object
java.lang.Enum<AbstractWebsocketServer.DebugMode>
io.openems.common.websocket.AbstractWebsocketServer.DebugMode
- All Implemented Interfaces:
Serializable
,Comparable<AbstractWebsocketServer.DebugMode>
,Constable
- Enclosing class:
AbstractWebsocketServer<T extends WsData>
public static enum AbstractWebsocketServer.DebugMode
extends Enum<AbstractWebsocketServer.DebugMode>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Is thisAbstractWebsocketServer.DebugMode
at least as high as the otherAbstractWebsocketServer.DebugMode
?.Returns the enum constant of this class with the specified name.static AbstractWebsocketServer.DebugMode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OFF
-
SIMPLE
-
DETAILED
-
-
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
-
isAtLeast
Is thisAbstractWebsocketServer.DebugMode
at least as high as the otherAbstractWebsocketServer.DebugMode
?.- Parameters:
other
- the otherAbstractWebsocketServer.DebugMode
- Returns:
- true if yes
-