- java.lang.Object
-
- xyz.tozymc.configuration.option.TcConfigOptions
-
- xyz.tozymc.configuration.file.option.FileConfigOptions
-
public class FileConfigOptions extends TcConfigOptions
Various options forFileConfig.- Since:
- 1.0
-
-
Field Summary
-
Fields inherited from class xyz.tozymc.configuration.option.TcConfigOptions
DEFAULT_PATH_SEPARATOR
-
-
Constructor Summary
Constructors Constructor Description FileConfigOptions(@NotNull FileConfig config)Creates newFileConfigOptionsforFileConfig.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull FileConfigconfig()Returns theTcConfigthat owned this options.@NotNull ReloadableTypereloadType()Gets the configuration reload type, default isReloadableType.MANUALLY.@NotNull FileConfigOptionsreloadType(@NotNull ReloadableType reloadableType)Sets the configuration reload type.-
Methods inherited from class xyz.tozymc.configuration.option.TcConfigOptions
pathSeparator, pathSeparator
-
-
-
-
Constructor Detail
-
FileConfigOptions
public FileConfigOptions(@NotNull @NotNull FileConfig config)
Creates newFileConfigOptionsforFileConfig.- Parameters:
config- Configuration that owned this options.
-
-
Method Detail
-
reloadType
@NotNull public @NotNull ReloadableType reloadType()
Gets the configuration reload type, default isReloadableType.MANUALLY.- Returns:
- Configuration reload type.
-
reloadType
@NotNull public @NotNull FileConfigOptions reloadType(@NotNull @NotNull ReloadableType reloadableType)
Sets the configuration reload type.- Parameters:
reloadableType- Reloadable type- Returns:
- This object, for chaining.
-
config
@NotNull public @NotNull FileConfig config()
Description copied from class:TcConfigOptionsReturns theTcConfigthat owned this options.- Overrides:
configin classTcConfigOptions- Returns:
- Configuration that owned this options.
-
-