Interface ServerProperty<PROPERTY_TYPE>

Type Parameters:
PROPERTY_TYPE - the generic type of the property which is returned when the value is being read.

public sealed interface ServerProperty<PROPERTY_TYPE>
A configurable property of the FirstSpirit server, e.g. the socket port number.
Since:
5.2.180704
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull String
    The name of the property as defined in the server configuration file, e.g.
  • Method Details

    • getName

      @NotNull @NotNull String getName()
      The name of the property as defined in the server configuration file, e.g. "SOCKET_PORT"
      Returns:
      the property name, never null
      Since:
      5.2.180704