Class RestNodeStatus
- java.lang.Object
-
- com.atlassian.bamboo.plugins.rest.model.server.RestNodeStatus
-
- All Implemented Interfaces:
BambooNodeInfo,BambooNodeStatus
public class RestNodeStatus extends Object implements BambooNodeStatus
-
-
Constructor Summary
Constructors Constructor Description RestNodeStatus(@NotNull BambooNodeStatus other)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable StringgetHostname()intgetInternalCommunicationPort()@Nullable DategetLastHeartbeat()@NotNull StringgetNodeId()@NotNull StringgetNodeName()booleanisAlive()booleanisPrimary()
-
-
-
Constructor Detail
-
RestNodeStatus
public RestNodeStatus(@NotNull @NotNull BambooNodeStatus other)
-
-
Method Detail
-
getNodeId
@NotNull public @NotNull String getNodeId()
- Specified by:
getNodeIdin interfaceBambooNodeInfo
-
getNodeName
@NotNull public @NotNull String getNodeName()
- Specified by:
getNodeNamein interfaceBambooNodeInfo
-
getLastHeartbeat
@Nullable public @Nullable Date getLastHeartbeat()
- Specified by:
getLastHeartbeatin interfaceBambooNodeInfo
-
getHostname
@Nullable public @Nullable String getHostname()
- Specified by:
getHostnamein interfaceBambooNodeInfo
-
getInternalCommunicationPort
public int getInternalCommunicationPort()
- Specified by:
getInternalCommunicationPortin interfaceBambooNodeInfo
-
isPrimary
public boolean isPrimary()
- Specified by:
isPrimaryin interfaceBambooNodeStatus
-
isAlive
public boolean isAlive()
- Specified by:
isAlivein interfaceBambooNodeStatus
-
-