![]() |
Open Kilda Java Documentation
|
Public Member Functions | |
HealthCheck () | |
HealthCheck (@JsonProperty("name") String name, @JsonProperty("version") String version, @JsonProperty("description") String description, @JsonProperty("components") Map< String, String > components) | |
String | getName () |
void | setName (final String name) |
String | getVersion () |
void | setServiceVersion (final String version) |
String | getDescription () |
void | setDescription (final String description) |
Map< String, String > | getComponents () |
void | setComponents (Map< String, String > components) |
String | toString () |
boolean | equals (Object obj) |
int | hashCode () |
boolean | hasNonOperational () |
Health-Check model representation class.
Definition at line 36 of file HealthCheck.java.
org.openkilda.messaging.model.HealthCheck.HealthCheck | ( | ) |
Constructs the health-check model.
Definition at line 69 of file HealthCheck.java.
org.openkilda.messaging.model.HealthCheck.HealthCheck | ( | @JsonProperty("name") String | name, |
@JsonProperty("version") String | version, | ||
@JsonProperty("description") String | description, | ||
@JsonProperty("components") Map< String, String > | components | ||
) |
Constructs the health-check model.
name | service name |
version | service version |
description | service description |
components | components status |
Definition at line 81 of file HealthCheck.java.
boolean org.openkilda.messaging.model.HealthCheck.equals | ( | Object | obj | ) |
Definition at line 180 of file HealthCheck.java.
Map<String, String> org.openkilda.messaging.model.HealthCheck.getComponents | ( | ) |
Get components statuses.
Definition at line 150 of file HealthCheck.java.
String org.openkilda.messaging.model.HealthCheck.getDescription | ( | ) |
Gets service description.
Definition at line 132 of file HealthCheck.java.
String org.openkilda.messaging.model.HealthCheck.getName | ( | ) |
String org.openkilda.messaging.model.HealthCheck.getVersion | ( | ) |
int org.openkilda.messaging.model.HealthCheck.hashCode | ( | ) |
Definition at line 200 of file HealthCheck.java.
boolean org.openkilda.messaging.model.HealthCheck.hasNonOperational | ( | ) |
Checks topologies status.
Definition at line 209 of file HealthCheck.java.
void org.openkilda.messaging.model.HealthCheck.setComponents | ( | Map< String, String > | components | ) |
Sets components statuses.
components | components statuses |
Definition at line 159 of file HealthCheck.java.
void org.openkilda.messaging.model.HealthCheck.setDescription | ( | final String | description | ) |
Sets service version.
description | service version |
Definition at line 141 of file HealthCheck.java.
void org.openkilda.messaging.model.HealthCheck.setName | ( | final String | name | ) |
void org.openkilda.messaging.model.HealthCheck.setServiceVersion | ( | final String | version | ) |
Sets service version.
version | service version |
Definition at line 123 of file HealthCheck.java.
String org.openkilda.messaging.model.HealthCheck.toString | ( | ) |
Definition at line 167 of file HealthCheck.java.