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 classServiceInstance.StatusThe status of a service
-
Constructor Summary
Constructors Constructor Description ServiceInstance()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ServiceInstancefromServiceInfo(ServiceInfo serviceInfo)Returns a newServiceInstanceBuilderbuilt from a givenServiceInfo
-
-
-
Method Detail
-
fromServiceInfo
public static ServiceInstance fromServiceInfo(ServiceInfo serviceInfo)
Returns a newServiceInstanceBuilderbuilt from a givenServiceInfo- Parameters:
serviceInfo- The information about the service used to initialize theServiceInstanceBuilder- Returns:
- a
ServiceInstanceBuilderwith values copied from the givenServiceInfo
-
-