Package org.kiwiproject.registry.model
Class ServiceInstance
- java.lang.Object
-
- org.kiwiproject.registry.model.ServiceInstance
-
public class ServiceInstance extends Object
Model containing information about a running service
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ServiceInstance.Status
The status of a service
-
Constructor Summary
Constructors Constructor Description ServiceInstance()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ServiceInstance
fromServiceInfo(ServiceInfo serviceInfo)
Returns a newServiceInstanceBuilder
built from a givenServiceInfo
-
-
-
Method Detail
-
fromServiceInfo
public static ServiceInstance fromServiceInfo(ServiceInfo serviceInfo)
Returns a newServiceInstanceBuilder
built from a givenServiceInfo
- Parameters:
serviceInfo
- The information about the service used to initialize theServiceInstanceBuilder
- Returns:
- a
ServiceInstanceBuilder
with values copied from the givenServiceInfo
-
-