Interface ServerInformation
@DoNotImplement public interface ServerInformation
The server information contains specific data about HiveMQ instance the extensions runs in.
- Since:
- 4.0.0, CE 2019.1
-
Method Summary
Modifier and Type Method Description @NotNull FilegetDataFolder()The location of the 'data' folder containing the data for the HiveMQ instance.@NotNull FilegetExtensionsFolder()The location of the 'extensions' folder that contains all extension.@NotNull FilegetHomeFolder()The location of the 'home' folder where HiveMQ is installed.@NotNull Set<Listener>getListener()All configured listeners.@NotNull FilegetLogFolder()The location of the 'log' folder containing everything related to logs.@NotNull StringgetVersion()
-
Method Details
-
getVersion
- Returns:
- The version string of the HiveMQ instance.
- Since:
- 4.0.0, CE 2019.1
-
getHomeFolder
The location of the 'home' folder where HiveMQ is installed.- Returns:
- The home folder of HiveMQ.
- Since:
- 4.0.0, CE 2019.1
-
getDataFolder
The location of the 'data' folder containing the data for the HiveMQ instance.- Returns:
- The data folder of HiveMQ.
- Since:
- 4.0.0, CE 2019.1
-
getLogFolder
The location of the 'log' folder containing everything related to logs.- Returns:
- The log folder of HiveMQ.
- Since:
- 4.0.0, CE 2019.1
-
getExtensionsFolder
The location of the 'extensions' folder that contains all extension.- Returns:
- The extension folder of HiveMQ.
- Since:
- 4.0.0, CE 2019.1
-
getListener
All configured listeners.- Returns:
- A set which contains a
Listenerinstance for each configured listener. - Since:
- 4.2.0, CE 2020.1
-