Package com.atlassian.bamboo.beehive
Interface ClusterNodeProperties
-
- All Known Implementing Classes:
BambooClusterNodeProperties
public interface ClusterNodePropertiesUsed to lookup cluster properties from the underlying properties file.- Since:
- v8.0
-
-
Field Summary
Fields Modifier and Type Field Description static StringBAMBOO_CLUSTER_CONFIG_PROPERTIES
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull StringgetHostname()Returns the IP/hostname configured to be used for this Bamboo Cluster.@NotNull IntegergetInternalCommunicationPort()Returns the port used for internal Bamboo Cluster communication.@NotNull StringgetNodeId()@NotNull StringgetNodeName()
-
-
-
Field Detail
-
BAMBOO_CLUSTER_CONFIG_PROPERTIES
static final String BAMBOO_CLUSTER_CONFIG_PROPERTIES
- See Also:
- Constant Field Values
-
-
Method Detail
-
getNodeId
@NotNull @NotNull String getNodeId()
- Returns:
- node id for a clustered or HA installation.
-
getNodeName
@NotNull @NotNull String getNodeName()
-
getHostname
@NotNull @NotNull String getHostname()
Returns the IP/hostname configured to be used for this Bamboo Cluster. If none is configured, localhost is returned.- Returns:
- The IP/hostname configured to be used for this Bamboo Cluster.
- Since:
- 9.4.0
-
getInternalCommunicationPort
@NotNull @NotNull Integer getInternalCommunicationPort()
Returns the port used for internal Bamboo Cluster communication. Bamboo node is listening for requests from other nodes on this port.- Returns:
- the port used for internal cluster communication
- Since:
- 9.4.0
-
-