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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull File
getDataFolder()
The location of the 'data' folder containing the data for the HiveMQ instance.@NotNull File
getExtensionsFolder()
The location of the 'extensions' folder that contains all extension.@NotNull File
getHomeFolder()
The location of the 'home' folder where HiveMQ is installed.@NotNull Set<Listener>
getListener()
All configured listeners.@NotNull File
getLogFolder()
The location of the 'log' folder containing everything related to logs.@NotNull String
getVersion()
-
-
-
Method Detail
-
getVersion
@NotNull String getVersion()
- Returns:
- The version string of the HiveMQ instance.
- Since:
- 4.0.0, CE 2019.1
-
getHomeFolder
@NotNull File 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
@NotNull File 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
@NotNull File 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
@NotNull File getExtensionsFolder()
The location of the 'extensions' folder that contains all extension.- Returns:
- The extension folder of HiveMQ.
- Since:
- 4.0.0, CE 2019.1
-
-