Open Kilda Java Documentation
org.openkilda.constants.Status Enum Reference

Public Member Functions

String getCode ()
 
StatusEntity getStatusEntity ()
 
void setStatusEntity (final StatusEntity statusEntity)
 

Static Public Member Functions

static Status getStatusByCode (final String code)
 
static Status getStatusByName (final String name)
 
static Status getStatusById (final Integer id)
 

Public Attributes

 ACTIVE =("ACT")
 
 INACTIVE =("INA")
 

Detailed Description

Definition at line 5 of file Status.java.

Member Function Documentation

◆ getCode()

String org.openkilda.constants.Status.getCode ( )

Gets the code.

Returns
the code

Definition at line 33 of file Status.java.

◆ getStatusByCode()

static Status org.openkilda.constants.Status.getStatusByCode ( final String  code)
static

Returns status by code.

Parameters
codethe code
Returns
the status by code

Definition at line 63 of file Status.java.

◆ getStatusById()

static Status org.openkilda.constants.Status.getStatusById ( final Integer  id)
static

Returns status by id.

Parameters
idthe id
Returns
the status by id

Definition at line 97 of file Status.java.

◆ getStatusByName()

static Status org.openkilda.constants.Status.getStatusByName ( final String  name)
static

Returns status by name.

Parameters
namethe name
Returns
the status by name

Definition at line 80 of file Status.java.

◆ getStatusEntity()

StatusEntity org.openkilda.constants.Status.getStatusEntity ( )

Gets the status entity.

Returns
the status entity

Definition at line 42 of file Status.java.

◆ setStatusEntity()

void org.openkilda.constants.Status.setStatusEntity ( final StatusEntity  statusEntity)

Set status entity on loading of Tomcat server.

Parameters
statusEntitystatus entity.

Definition at line 51 of file Status.java.

Member Data Documentation

◆ ACTIVE

org.openkilda.constants.Status.ACTIVE =("ACT")

The active.

Definition at line 8 of file Status.java.

◆ INACTIVE

org.openkilda.constants.Status.INACTIVE =("INA")

The inactive.

Definition at line 10 of file Status.java.


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