Open Kilda Java Documentation
org.openkilda.messaging.info.event.SwitchState Enum Reference

Public Member Functions

 SwitchState (final String type)
 
String getType ()
 
String toString ()
 
boolean isActive ()
 
boolean isInactive ()
 

Static Public Member Functions

static SwitchState from (String state)
 

Public Attributes

 ACTIVATED =("ACTIVATED")
 
 ADDED =("ADDED")
 
 CHANGED =("CHANGED")
 
 DEACTIVATED =("DEACTIVATED")
 
 VALIDATING =("VALIDATING")
 
 REMOVED =("REMOVED")
 
 CACHED =("CACHED")
 

Detailed Description

Enum represents switch event message types.

Definition at line 30 of file SwitchState.java.

Constructor & Destructor Documentation

◆ SwitchState()

org.openkilda.messaging.info.event.SwitchState.SwitchState ( final String  type)

Instance constructor.

Parameters
typeinfo message type

Definition at line 78 of file SwitchState.java.

Member Function Documentation

◆ from()

static SwitchState org.openkilda.messaging.info.event.SwitchState.from ( String  state)
static

Definition at line 99 of file SwitchState.java.

◆ getType()

String org.openkilda.messaging.info.event.SwitchState.getType ( )

Returns info message type.

Returns
info message type

Definition at line 87 of file SwitchState.java.

◆ isActive()

boolean org.openkilda.messaging.info.event.SwitchState.isActive ( )

Definition at line 106 of file SwitchState.java.

◆ isInactive()

boolean org.openkilda.messaging.info.event.SwitchState.isInactive ( )

Definition at line 110 of file SwitchState.java.

◆ toString()

String org.openkilda.messaging.info.event.SwitchState.toString ( )

Definition at line 95 of file SwitchState.java.

Member Data Documentation

◆ ACTIVATED

org.openkilda.messaging.info.event.SwitchState.ACTIVATED =("ACTIVATED")

Activated switch event message type.

Definition at line 34 of file SwitchState.java.

◆ ADDED

org.openkilda.messaging.info.event.SwitchState.ADDED =("ADDED")

Added switch event message type.

Definition at line 39 of file SwitchState.java.

◆ CACHED

org.openkilda.messaging.info.event.SwitchState.CACHED =("CACHED")

Switch was cached from via pre-population.

Definition at line 64 of file SwitchState.java.

◆ CHANGED

org.openkilda.messaging.info.event.SwitchState.CHANGED =("CHANGED")

Changed switch event message type.

Definition at line 44 of file SwitchState.java.

◆ DEACTIVATED

org.openkilda.messaging.info.event.SwitchState.DEACTIVATED =("DEACTIVATED")

Deactivated switch event message type.

Definition at line 49 of file SwitchState.java.

◆ REMOVED

org.openkilda.messaging.info.event.SwitchState.REMOVED =("REMOVED")

Removed switch event message type.

Definition at line 59 of file SwitchState.java.

◆ VALIDATING

org.openkilda.messaging.info.event.SwitchState.VALIDATING =("VALIDATING")

When switch is under validating process.

Definition at line 54 of file SwitchState.java.


The documentation for this enum was generated from the following file: