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 String
getHostname()
int
getInternalCommunicationPort()
@Nullable Date
getLastHeartbeat()
@NotNull String
getNodeId()
@NotNull String
getNodeName()
boolean
isAlive()
boolean
isPrimary()
-
-
-
Constructor Detail
-
RestNodeStatus
public RestNodeStatus(@NotNull @NotNull BambooNodeStatus other)
-
-
Method Detail
-
getNodeId
@NotNull public @NotNull String getNodeId()
- Specified by:
getNodeId
in interfaceBambooNodeInfo
-
getNodeName
@NotNull public @NotNull String getNodeName()
- Specified by:
getNodeName
in interfaceBambooNodeInfo
-
getLastHeartbeat
@Nullable public @Nullable Date getLastHeartbeat()
- Specified by:
getLastHeartbeat
in interfaceBambooNodeInfo
-
getHostname
@Nullable public @Nullable String getHostname()
- Specified by:
getHostname
in interfaceBambooNodeInfo
-
getInternalCommunicationPort
public int getInternalCommunicationPort()
- Specified by:
getInternalCommunicationPort
in interfaceBambooNodeInfo
-
isPrimary
public boolean isPrimary()
- Specified by:
isPrimary
in interfaceBambooNodeStatus
-
isAlive
public boolean isAlive()
- Specified by:
isAlive
in interfaceBambooNodeStatus
-
-