Open Kilda Java Documentation
org.openkilda.messaging.payload.flow.FlowState Enum Reference

Public Member Functions

 FlowState (@JsonProperty("state") final String state)
 
String getState ()
 
String toString ()
 
boolean isActive ()
 
boolean isActiveOrCached ()
 

Public Attributes

 ALLOCATED =("Allocated")
 
 IN_PROGRESS =("In progress")
 
 UP =("Up")
 
 DOWN =("Down")
 
 CACHED =("Cached")
 

Detailed Description

Class represents state of flow.

Definition at line 24 of file FlowState.java.

Constructor & Destructor Documentation

◆ FlowState()

org.openkilda.messaging.payload.flow.FlowState.FlowState ( @JsonProperty("state") final String  state)

Instance constructor.

Parameters
stateflow state

Definition at line 62 of file FlowState.java.

Member Function Documentation

◆ getState()

String org.openkilda.messaging.payload.flow.FlowState.getState ( )

Returns flow state.

Returns
flow state

Definition at line 71 of file FlowState.java.

◆ isActive()

boolean org.openkilda.messaging.payload.flow.FlowState.isActive ( )

Definition at line 83 of file FlowState.java.

◆ isActiveOrCached()

boolean org.openkilda.messaging.payload.flow.FlowState.isActiveOrCached ( )

Definition at line 87 of file FlowState.java.

◆ toString()

String org.openkilda.messaging.payload.flow.FlowState.toString ( )

Definition at line 79 of file FlowState.java.

Member Data Documentation

◆ ALLOCATED

org.openkilda.messaging.payload.flow.FlowState.ALLOCATED =("Allocated")

Flow allocated state.

Definition at line 28 of file FlowState.java.

◆ CACHED

org.openkilda.messaging.payload.flow.FlowState.CACHED =("Cached")

Flow is cached. It means this flow is read from db and cached.

Definition at line 48 of file FlowState.java.

◆ DOWN

org.openkilda.messaging.payload.flow.FlowState.DOWN =("Down")

Flow down state.

Definition at line 43 of file FlowState.java.

◆ IN_PROGRESS

org.openkilda.messaging.payload.flow.FlowState.IN_PROGRESS =("In progress")

Flow creating/deleting state.

Definition at line 33 of file FlowState.java.

◆ UP

org.openkilda.messaging.payload.flow.FlowState.UP =("Up")

Flow up state.

Definition at line 38 of file FlowState.java.


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