Class ServiceStatusSummary
- java.lang.Object
-
- org.opendaylight.infrautils.diagstatus.ServiceStatusSummary
-
public final class ServiceStatusSummary extends Object
Summary of overall system service status.- Author:
- Faseela K
-
-
Constructor Summary
Constructors Constructor Description ServiceStatusSummary(boolean isOperational, SystemState systemState, String systemReadyErrorCause, Collection<ServiceDescriptor> statusSummary)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
static ServiceStatusSummary
fromJSON(String json)
Collection<ServiceDescriptor>
getStatusSummary()
SystemState
getSystemReadyState()
String
getSystemReadyStateErrorCause()
Instant
getTimeStamp()
int
hashCode()
boolean
isOperational()
String
toJSON()
String
toString()
-
-
-
Constructor Detail
-
ServiceStatusSummary
public ServiceStatusSummary(boolean isOperational, SystemState systemState, String systemReadyErrorCause, Collection<ServiceDescriptor> statusSummary)
-
-
Method Detail
-
fromJSON
public static ServiceStatusSummary fromJSON(String json)
-
toJSON
public String toJSON()
-
isOperational
public boolean isOperational()
-
getSystemReadyState
public SystemState getSystemReadyState()
-
getSystemReadyStateErrorCause
public String getSystemReadyStateErrorCause()
-
getStatusSummary
public Collection<ServiceDescriptor> getStatusSummary()
-
getTimeStamp
public Instant getTimeStamp()
-
-