Class NodeStatus<DesiredStateType,ActualStateType>
- java.lang.Object
-
- com.opencloud.rhino.management.config.declarative.status.NodeStatus<DesiredStateType,ActualStateType>
-
- Direct Known Subclasses:
ResourceAdaptorEntityStatus.ResourceAdaptorEntityNodeStatus
,ServiceStatus.ServiceNodeStatus
,SleeStatus.SleeNodeStatus
public class NodeStatus<DesiredStateType,ActualStateType> extends Object
-
-
Constructor Summary
Constructors Constructor Description NodeStatus()
NodeStatus(int nodeID)
NodeStatus(int nodeID, DesiredStateType desiredState, ActualStateType actualState, boolean isPerNodeDesiredState)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ActualStateType
getActualState()
DesiredStateType
getDesiredState()
int
getNodeId()
boolean
isPerNodeDesiredState()
void
setActualState(ActualStateType actualState)
void
setDesiredState(DesiredStateType desiredState)
void
setNodeId(int nodeID)
void
setPerNodeDesiredState(boolean perNodeDesiredState)
-
-
-
Constructor Detail
-
NodeStatus
public NodeStatus()
-
NodeStatus
public NodeStatus(int nodeID)
-
NodeStatus
public NodeStatus(int nodeID, DesiredStateType desiredState, ActualStateType actualState, boolean isPerNodeDesiredState)
-
-
Method Detail
-
getNodeId
public int getNodeId()
-
setNodeId
public void setNodeId(int nodeID)
-
getDesiredState
public DesiredStateType getDesiredState()
-
setDesiredState
public void setDesiredState(DesiredStateType desiredState)
-
getActualState
public ActualStateType getActualState()
-
setActualState
public void setActualState(ActualStateType actualState)
-
isPerNodeDesiredState
public boolean isPerNodeDesiredState()
-
setPerNodeDesiredState
public void setPerNodeDesiredState(boolean perNodeDesiredState)
-
-