Package io.camunda.zeebe.qa.util.cluster
Enum Class TestZeebePort
- All Implemented Interfaces:
Serializable,Comparable<TestZeebePort>,Constable
Represents the known ports in Zeebe and their default values.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionPort for internal communication, i.e.Port of the command API, i.e.Port of the gateway API, i.e.Port for the management server, i.e.The REST API server port -
Method Summary
Modifier and TypeMethodDescriptionintport()Returns the default port number for this portstatic TestZeebePortReturns the enum constant of this class with the specified name.static TestZeebePort[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
COMMAND
Port of the command API, i.e. the port used by the gateway to communicate with the broker -
GATEWAY
Port of the gateway API, i.e. the port used by the client to communicate with any gateway -
CLUSTER
Port for internal communication, i.e. what all nodes use to communicate for clustering -
REST
The REST API server port -
MONITORING
Port for the management server, i.e. actuators, metrics, etc.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
port
public int port()Returns the default port number for this port
-