Class ServiceState
- java.lang.Object
-
- com.opencloud.rhino.management.config.declarative.desiredstate.ServiceState
-
public class ServiceState extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ServiceState.ServiceNodeState
-
Constructor Summary
Constructors Constructor Description ServiceState()
ServiceState(ServiceComponent service)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addPerNodeDesiredState(ServiceState.ServiceNodeState state)
ServiceDesiredState
getDefaultDesiredState()
List<ServiceState.ServiceNodeState>
getPerNodeDesiredStates()
ServiceComponent
getService()
void
setDefaultDesiredState(ServiceDesiredState defaultDesiredState)
void
setPerNodeDesiredStates(List<ServiceState.ServiceNodeState> perNodeDesiredStates)
void
setService(ServiceComponent service)
-
-
-
Constructor Detail
-
ServiceState
public ServiceState()
-
ServiceState
public ServiceState(ServiceComponent service)
-
-
Method Detail
-
getService
public ServiceComponent getService()
-
setService
public void setService(ServiceComponent service)
-
getDefaultDesiredState
public ServiceDesiredState getDefaultDesiredState()
-
setDefaultDesiredState
public void setDefaultDesiredState(ServiceDesiredState defaultDesiredState)
-
getPerNodeDesiredStates
public List<ServiceState.ServiceNodeState> getPerNodeDesiredStates()
-
setPerNodeDesiredStates
public void setPerNodeDesiredStates(List<ServiceState.ServiceNodeState> perNodeDesiredStates)
-
addPerNodeDesiredState
public void addPerNodeDesiredState(ServiceState.ServiceNodeState state)
-
-