Globals Builder
A builder class for creating a GlobalConfig object.
This class provides methods for setting various properties of a global configuration, such as the global parameters, the global prefix, and the global suffix. It also provides methods for adding global parameters using different formats, such as a map, a pair, or a custom initializer. The build method returns a new GlobalConfig object based on the current state of the builder.
Author
TOTHTOMI
Since
Jul. 25, 2023
Constructors
Creates a new GlobalsBuilder with empty values for all properties.
Functions
Builds and returns a new GlobalConfig object based on the current state of the builder.
Adds a single global parameters to the builder. Global parameters will be provided to every translation's script parser at runtime.
Adds multiple global parameters to the builder using a custom initializer, so you can use it via DSL. Global parameters will be provided to every translation's script parser at runtime.
Adds multiple global parameters to the builder. Global parameters will be provided to every translation's script parser at runtime.