Class ServiceDescriptor
- java.lang.Object
-
- org.opendaylight.infrautils.diagstatus.ServiceDescriptor
-
@Immutable public final class ServiceDescriptor extends Object
Details of a registered service.- Author:
- Faseela K
-
-
Constructor Summary
Constructors Constructor Description ServiceDescriptor(String moduleServiceName, Throwable errorCause)
ServiceDescriptor(String moduleServiceName, ServiceState svcState)
ServiceDescriptor(String moduleServiceName, ServiceState svcState, String statusDesc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
Optional<Throwable>
getErrorCause()
String
getModuleServiceName()
ServiceState
getServiceState()
String
getStatusDesc()
Instant
getStatusTimestamp()
int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
ServiceDescriptor
public ServiceDescriptor(String moduleServiceName, ServiceState svcState)
-
ServiceDescriptor
public ServiceDescriptor(String moduleServiceName, ServiceState svcState, String statusDesc)
-
-
Method Detail
-
getModuleServiceName
public String getModuleServiceName()
-
getServiceState
public ServiceState getServiceState()
-
getStatusTimestamp
public Instant getStatusTimestamp()
-
getStatusDesc
public String getStatusDesc()
-
-