Index
All Classes and Interfaces|All Packages|Serialized Form
C
- checkVersion(String) - Method in class space.b00tload.utils.configuration.TomlConfiguration
-
Checks whether the config version is the same as software version.
- close() - Method in class space.b00tload.utils.configuration.TomlConfiguration
-
Saves and closes the config file.
- ConfigException - Exception Class in space.b00tload.utils.configuration.exceptions
-
A wrapped
java.lang.RuntimeExceptionused for any generic errors while processing the config - ConfigException() - Constructor for exception class space.b00tload.utils.configuration.exceptions.ConfigException
-
Constructs a new config exception with
nullas its detail message. - ConfigException(String) - Constructor for exception class space.b00tload.utils.configuration.exceptions.ConfigException
-
Constructs a new config exception with the specified detail message.
- ConfigException(String, Throwable) - Constructor for exception class space.b00tload.utils.configuration.exceptions.ConfigException
-
Constructs a new config exception with the specified detail message and cause.
- ConfigException(String, Throwable, boolean, boolean) - Constructor for exception class space.b00tload.utils.configuration.exceptions.ConfigException
-
Constructs a new config exception with the specified detail message, cause, suppression enabled or disabled, and writable stack trace enabled or disabled.
- ConfigException(Throwable) - Constructor for exception class space.b00tload.utils.configuration.exceptions.ConfigException
-
Constructs a new config exception with the specified cause and a detail message of
(cause==null ? null : cause.toString())(which typically contains the class and detail message ofcause). - ConfigIncompleteException - Exception Class in space.b00tload.utils.configuration.exceptions
-
The
ConfigIncompleteExceptionis thrown when the config has missing values. - ConfigIncompleteException(String, Throwable, boolean, boolean, List<ConfigValues>) - Constructor for exception class space.b00tload.utils.configuration.exceptions.ConfigIncompleteException
-
Constructs a new runtime exception with the specified detail message, missing values, cause, suppression enabled or disabled, and writable stack trace enabled or disabled.
- ConfigIncompleteException(String, Throwable, List<ConfigValues>) - Constructor for exception class space.b00tload.utils.configuration.exceptions.ConfigIncompleteException
-
Constructs a new runtime exception with the specified detail message, missing values and cause.
- ConfigIncompleteException(String, List<ConfigValues>) - Constructor for exception class space.b00tload.utils.configuration.exceptions.ConfigIncompleteException
-
Constructs a new runtime exception with the specified detail message and missing values.
- ConfigIncompleteException(Throwable, List<ConfigValues>) - Constructor for exception class space.b00tload.utils.configuration.exceptions.ConfigIncompleteException
-
Constructs a new runtime exception with the specified cause, the missing values and a detail message of
(cause==null ? null : cause.toString())(which typically contains the class and detail message ofcause). - Configuration - Class in space.b00tload.utils.configuration
-
Loads the configuration from all supported sources (cli-args, .env, toml-file, default).
- ConfigValues - Interface in space.b00tload.utils.configuration
-
An interface to implement in enums containing all configurable values.
- contains(String) - Method in class space.b00tload.utils.configuration.TomlConfiguration
-
Checks if the config contains a value at some path.
G
- get(ConfigValues) - Method in class space.b00tload.utils.configuration.Configuration
-
Gets a value from the config
- getDefaultValue() - Method in interface space.b00tload.utils.configuration.ConfigValues
-
The default value used if not set via other configuration means.
- getEnvironmentVariable() - Method in interface space.b00tload.utils.configuration.ConfigValues
-
The environment variable name for this config value.
- getFlag() - Method in interface space.b00tload.utils.configuration.ConfigValues
-
The command line flag for this config value.
- getFlagAlias() - Method in interface space.b00tload.utils.configuration.ConfigValues
-
The command line alias for this config value.
- getInstance() - Static method in class space.b00tload.utils.configuration.Configuration
-
Used to get the singleton instance
- getMissingValues() - Method in exception class space.b00tload.utils.configuration.exceptions.ConfigIncompleteException
-
Returns all missing values.
- getString(String) - Method in class space.b00tload.utils.configuration.TomlConfiguration
-
Gets a value from the config.
- getTomlPath() - Method in interface space.b00tload.utils.configuration.ConfigValues
-
The path to the config value in a toml file.
I
- init(String[], String, String, ConfigValues[]) - Static method in class space.b00tload.utils.configuration.Configuration
-
Initializes the singelton instance.
S
- setString(String, String) - Method in class space.b00tload.utils.configuration.TomlConfiguration
-
Sets a value to the config.
- space.b00tload.utils.configuration - package space.b00tload.utils.configuration
- space.b00tload.utils.configuration.exceptions - package space.b00tload.utils.configuration.exceptions
T
- TomlConfiguration - Class in space.b00tload.utils.configuration
-
Interfaces with the toml config file.
All Classes and Interfaces|All Packages|Serialized Form