public class SwarmInfo extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
SwarmInfo() |
Modifier and Type | Method and Description |
---|---|
ClusterInfo |
getClusterInfo() |
Boolean |
getControlAvailable() |
String |
getError() |
LocalNodeState |
getLocalNodeState() |
Integer |
getManagers() |
String |
getNodeAddr() |
String |
getNodeID() |
Integer |
getNodes() |
List<PeerNode> |
getRemoteManagers() |
SwarmInfo |
withClusterInfo(ClusterInfo clusterInfo) |
SwarmInfo |
withControlAvailable(Boolean controlAvailable) |
SwarmInfo |
withError(String error) |
SwarmInfo |
withLocalNodeState(LocalNodeState localNodeState) |
SwarmInfo |
withManagers(Integer managers) |
SwarmInfo |
withNodeAddr(String nodeAddr) |
SwarmInfo |
withNodeID(String nodeID) |
SwarmInfo |
withNodes(Integer nodes) |
SwarmInfo |
withRemoteManagers(List<PeerNode> remoteManagers) |
public static final long serialVersionUID
@CheckForNull public String getNodeID()
nodeID
@CheckForNull public String getNodeAddr()
nodeAddr
@CheckForNull public LocalNodeState getLocalNodeState()
localNodeState
public SwarmInfo withLocalNodeState(LocalNodeState localNodeState)
localNodeState
@CheckForNull public Boolean getControlAvailable()
controlAvailable
public SwarmInfo withControlAvailable(Boolean controlAvailable)
controlAvailable
@CheckForNull public String getError()
error
@CheckForNull public List<PeerNode> getRemoteManagers()
remoteManagers
public SwarmInfo withRemoteManagers(List<PeerNode> remoteManagers)
remoteManagers
@CheckForNull public Integer getNodes()
nodes
@CheckForNull public Integer getManagers()
managers
@CheckForNull public ClusterInfo getClusterInfo()
clusterInfo
public SwarmInfo withClusterInfo(ClusterInfo clusterInfo)
clusterInfo
Copyright © 2021. All rights reserved.