Index

A B C D E F G H I L N O P R S W 
All Classes and Interfaces|All Packages|Serialized Form

A

add(CustomFile) - Method in class io.github.monsieurdoceo.filizer.storage.infrastructure.FileRegistry
Stores the given CustomFile if it is not already present.
ambiguousFileName(String) - Method in class io.github.monsieurdoceo.filizer.shared.exceptions.FilizerExceptions
Logs an ambiguous file lookup.
AppLogger - Interface in io.github.monsieurdoceo.filizer.shared.logging
Application-level logger abstraction.

B

BukkitAppLogger - Class in io.github.monsieurdoceo.filizer.shared.logging
Bukkit-backed application logger.
BukkitAppLogger(Logger) - Constructor for class io.github.monsieurdoceo.filizer.shared.logging.BukkitAppLogger
Creates a new logger adapter.

C

ConfigurationSectionBuilder - Class in io.github.monsieurdoceo.filizer.storage.domain
Represents a configuration section that can be created and populated inside a FileConfiguration.
ConfigurationSectionBuilder(String) - Constructor for class io.github.monsieurdoceo.filizer.storage.domain.ConfigurationSectionBuilder
Creates a new empty file section.
contains(CustomFile) - Method in class io.github.monsieurdoceo.filizer.storage.infrastructure.FileRegistry
Checks whether a file with the given CustomFile exists in storage.
containsFile(String) - Method in class io.github.monsieurdoceo.filizer.storage.api.FileManager
Checks whether a file with the given name exists in storage.
createFile(File, String) - Method in class io.github.monsieurdoceo.filizer.storage.api.FileManager
Creates a new CustomFile from a parent directory and file name.
createFile(String, String) - Method in class io.github.monsieurdoceo.filizer.storage.api.FileManager
Creates a new CustomFile from a parent path and a name.
createFile(Path, String, FilizerExceptions) - Static method in class io.github.monsieurdoceo.filizer.storage.infrastructure.FileFactory
Creates a file from a parent directory path and file name.
createSection(FileConfiguration) - Method in class io.github.monsieurdoceo.filizer.storage.domain.ConfigurationSectionBuilder
Creates this section in the provided configuration.
CustomFile - Class in io.github.monsieurdoceo.filizer.storage.domain
Represents a managed configuration file.
CustomFile(File, String, FileSynchronizer, FilizerExceptions) - Constructor for class io.github.monsieurdoceo.filizer.storage.domain.CustomFile
Creates a new CustomFile from a parent directory and file name.
CustomFile(Path, String, FileSynchronizer, FilizerExceptions) - Constructor for class io.github.monsieurdoceo.filizer.storage.domain.CustomFile
Creates a new CustomFile from a parent path and file name.

D

DebugCommand - Class in io.github.monsieurdoceo.filizer.commands
Provides a development command for inspecting managed files.
DebugCommand(FileManager) - Constructor for class io.github.monsieurdoceo.filizer.commands.DebugCommand
Creates a new DebugCommand instance.
deleteFile(CustomFile) - Method in class io.github.monsieurdoceo.filizer.storage.api.FileManager
Deletes the given CustomFile from filesystem and removes it from storage.
deleteFile(String) - Method in class io.github.monsieurdoceo.filizer.storage.api.FileManager
Deletes the CustomFile associated with the given name.

E

ensureUpToDate(CustomFile) - Method in class io.github.monsieurdoceo.filizer.storage.infrastructure.FileSynchronizer
Ensures that the given file is synchronized.
error(String) - Method in interface io.github.monsieurdoceo.filizer.shared.logging.AppLogger
Logs an error message.
error(String) - Method in class io.github.monsieurdoceo.filizer.shared.logging.BukkitAppLogger
Logs an error message.
error(String, Throwable) - Method in interface io.github.monsieurdoceo.filizer.shared.logging.AppLogger
Logs an error message with a cause.
error(String, Throwable) - Method in class io.github.monsieurdoceo.filizer.shared.logging.BukkitAppLogger
Logs an error message with a cause.
execute(CommandSourceStack, String[]) - Method in class io.github.monsieurdoceo.filizer.commands.DebugCommand
Executes the command.
exists(Path) - Static method in class io.github.monsieurdoceo.filizer.shared.util.FileChecker
Checks whether the specified file exists.

F

FileChecker - Class in io.github.monsieurdoceo.filizer.shared.util
Utility methods for validating file names and checking file paths.
FileChecker() - Constructor for class io.github.monsieurdoceo.filizer.shared.util.FileChecker
Initializes the file checker.
fileCreationFailed(Path, String, Throwable) - Method in class io.github.monsieurdoceo.filizer.shared.exceptions.FilizerExceptions
Creates an exception for a failed file creation.
fileDeletionFailed(String, Throwable) - Method in class io.github.monsieurdoceo.filizer.shared.exceptions.FilizerExceptions
Creates an exception for a failed file deletion.
FileFactory - Class in io.github.monsieurdoceo.filizer.storage.infrastructure
Factory responsible for creating managed files.
FileFactory() - Constructor for class io.github.monsieurdoceo.filizer.storage.infrastructure.FileFactory
Initializes the file factory.
FileManager - Class in io.github.monsieurdoceo.filizer.storage.api
Provides access to managed files.
FileManager(FileRegistry, FileSynchronizationStrategy, AppLogger) - Constructor for class io.github.monsieurdoceo.filizer.storage.api.FileManager
Constructs a new FileManager instance.
FileManager(FileRegistry, FileSynchronizationStrategy, AppLogger, FilizerExceptions) - Constructor for class io.github.monsieurdoceo.filizer.storage.api.FileManager
Constructs a new FileManager instance.
fileNotFound(String, Throwable) - Method in class io.github.monsieurdoceo.filizer.shared.exceptions.FilizerExceptions
Creates an exception for a missing file.
FileReader - Class in io.github.monsieurdoceo.filizer.storage.infrastructure
Provides access to a managed file configuration.
FileReader(FileConfiguration) - Constructor for class io.github.monsieurdoceo.filizer.storage.infrastructure.FileReader
Creates a new FileReader from a configuration instance.
FileRegistry - Class in io.github.monsieurdoceo.filizer.storage.infrastructure
Maintains the registry of managed files.
FileRegistry() - Constructor for class io.github.monsieurdoceo.filizer.storage.infrastructure.FileRegistry
Initializes a new file registry instance.
fileSaveFailed(String, Throwable) - Method in class io.github.monsieurdoceo.filizer.shared.exceptions.FilizerExceptions
Creates an exception for a failed file save.
FileSynchronizationStrategy - Interface in io.github.monsieurdoceo.filizer.storage.sync
Defines how a CustomFile should be synchronized with its underlying filesystem representation.
FileSynchronizer - Class in io.github.monsieurdoceo.filizer.storage.infrastructure
Coordinates file synchronization by delegating the work to the configured synchronization strategy.
FileSynchronizer(FileSynchronizationStrategy) - Constructor for class io.github.monsieurdoceo.filizer.storage.infrastructure.FileSynchronizer
Creates a new synchronizer.
FilizerExceptions - Class in io.github.monsieurdoceo.filizer.shared.exceptions
Centralized factory for Filizer runtime exceptions.
FilizerExceptions(AppLogger) - Constructor for class io.github.monsieurdoceo.filizer.shared.exceptions.FilizerExceptions
Creates a new exception factory.
FilizerFileCreationException - Exception Class in io.github.monsieurdoceo.filizer.shared.exceptions
Thrown when a file cannot be created.
FilizerFileCreationException(AppLogger, Path, String, Throwable) - Constructor for exception class io.github.monsieurdoceo.filizer.shared.exceptions.FilizerFileCreationException
Creates a new file-creation exception.
FilizerFileDeletionException - Exception Class in io.github.monsieurdoceo.filizer.shared.exceptions
Thrown when a file cannot be deleted.
FilizerFileDeletionException(AppLogger, String, Throwable) - Constructor for exception class io.github.monsieurdoceo.filizer.shared.exceptions.FilizerFileDeletionException
Creates a new file-deletion exception.
FilizerFileNotFoundException - Exception Class in io.github.monsieurdoceo.filizer.shared.exceptions
Thrown when a requested file cannot be found.
FilizerFileNotFoundException(AppLogger, String, Throwable) - Constructor for exception class io.github.monsieurdoceo.filizer.shared.exceptions.FilizerFileNotFoundException
Creates a new file-not-found exception.
FilizerFileSaveException - Exception Class in io.github.monsieurdoceo.filizer.shared.exceptions
Thrown when a file cannot be saved.
FilizerFileSaveException(AppLogger, String, Throwable) - Constructor for exception class io.github.monsieurdoceo.filizer.shared.exceptions.FilizerFileSaveException
Creates a new file-save exception.
FilizerInvalidFileNameException - Exception Class in io.github.monsieurdoceo.filizer.shared.exceptions
Thrown when a file name is invalid.
FilizerInvalidFileNameException(AppLogger, String, Throwable) - Constructor for exception class io.github.monsieurdoceo.filizer.shared.exceptions.FilizerInvalidFileNameException
Creates a new invalid-file-name exception.
FilizerInvalidFilePathException - Exception Class in io.github.monsieurdoceo.filizer.shared.exceptions
Thrown when a file path or file name is invalid.
FilizerInvalidFilePathException(AppLogger, Path, String, Throwable) - Constructor for exception class io.github.monsieurdoceo.filizer.shared.exceptions.FilizerInvalidFilePathException
Creates a new invalid-file-path exception.
FilizerPlugin - Class in io.github.monsieurdoceo.filizer
Main entry point of the Filizer plugin.
FilizerPlugin() - Constructor for class io.github.monsieurdoceo.filizer.FilizerPlugin
Initializes the Filizer plugin instance.
find(File) - Method in class io.github.monsieurdoceo.filizer.storage.infrastructure.FileRegistry
Retrieves a CustomFile by its path.
find(Path) - Method in class io.github.monsieurdoceo.filizer.storage.infrastructure.FileRegistry
Retrieves a CustomFile by its absolute path.
findByName(String) - Method in class io.github.monsieurdoceo.filizer.storage.infrastructure.FileRegistry
Retrieves every CustomFile matching the provided name.
findFile(String) - Method in class io.github.monsieurdoceo.filizer.storage.api.FileManager
Attempts to retrieve a registered file by its name.
findFile(Path, String) - Method in class io.github.monsieurdoceo.filizer.storage.api.FileManager
Attempts to retrieve a registered file by its path.

G

get(String) - Method in class io.github.monsieurdoceo.filizer.storage.infrastructure.FileReader
Retrieves a raw value from the configuration.
getCurrentlyLoggedMessage() - Method in interface io.github.monsieurdoceo.filizer.shared.logging.AppLogger
Gets the currently logged message.
getCurrentlyLoggedMessage() - Method in class io.github.monsieurdoceo.filizer.shared.logging.BukkitAppLogger
Gets the currently logged message.
getData() - Method in class io.github.monsieurdoceo.filizer.storage.domain.ConfigurationSectionBuilder
Returns the data stored in this section.
getDouble(String) - Method in class io.github.monsieurdoceo.filizer.storage.infrastructure.FileReader
Retrieves an double value from the configuration.
getFile() - Method in class io.github.monsieurdoceo.filizer.storage.domain.CustomFile
Retrieves the underlying file instance.
getFileReader() - Method in class io.github.monsieurdoceo.filizer.storage.domain.CustomFile
Retrieves the cached FileReader instance.
getFiles() - Method in class io.github.monsieurdoceo.filizer.storage.infrastructure.FileRegistry
Retrieves all stored CustomFile instances.
getInt(String) - Method in class io.github.monsieurdoceo.filizer.storage.infrastructure.FileReader
Retrieves an integer value from the configuration.
getIntegerList(String) - Method in class io.github.monsieurdoceo.filizer.storage.infrastructure.FileReader
Retrieves an integer list from the configuration.
getKeys(boolean) - Method in class io.github.monsieurdoceo.filizer.storage.infrastructure.FileReader
Retrieves all keys from the root configuration.
getKeys(String, boolean) - Method in class io.github.monsieurdoceo.filizer.storage.infrastructure.FileReader
Retrieves keys from a specific configuration section.
getLastModified() - Method in class io.github.monsieurdoceo.filizer.storage.domain.CustomFile
Returns the last modified timestamp of the file.
getName() - Method in class io.github.monsieurdoceo.filizer.storage.domain.ConfigurationSectionBuilder
Returns the name of this section.
getName() - Method in class io.github.monsieurdoceo.filizer.storage.domain.CustomFile
Retrieves the file name.
getRegistry() - Method in class io.github.monsieurdoceo.filizer.storage.api.FileManager
Retrieves the underlying file storage instance.
getSection(String) - Method in class io.github.monsieurdoceo.filizer.storage.infrastructure.FileReader
Retrieves a configuration section.
getString(String) - Method in class io.github.monsieurdoceo.filizer.storage.infrastructure.FileReader
Retrieves a string value from the configuration.
getStringList(String) - Method in class io.github.monsieurdoceo.filizer.storage.infrastructure.FileReader
Retrieves a string list from the configuration.
getSynchronizer() - Method in class io.github.monsieurdoceo.filizer.storage.api.FileManager
Retrieves the file synchronization instance.

H

has(String) - Method in class io.github.monsieurdoceo.filizer.storage.infrastructure.FileReader
Checks whether a configuration path exists.
hasValidName(String) - Static method in class io.github.monsieurdoceo.filizer.shared.util.FileChecker
Checks whether a file name is valid.

I

info(String) - Method in interface io.github.monsieurdoceo.filizer.shared.logging.AppLogger
Logs an informational message.
info(String) - Method in class io.github.monsieurdoceo.filizer.shared.logging.BukkitAppLogger
Logs an informational message.
invalidFileName(String, Throwable) - Method in class io.github.monsieurdoceo.filizer.shared.exceptions.FilizerExceptions
Creates an exception for an invalid file name.
invalidFilePath(Path, String, Throwable) - Method in class io.github.monsieurdoceo.filizer.shared.exceptions.FilizerExceptions
Creates an exception for an invalid file path or name.
io.github.monsieurdoceo.filizer - package io.github.monsieurdoceo.filizer
 
io.github.monsieurdoceo.filizer.bootstrap - package io.github.monsieurdoceo.filizer.bootstrap
 
io.github.monsieurdoceo.filizer.commands - package io.github.monsieurdoceo.filizer.commands
 
io.github.monsieurdoceo.filizer.shared.exceptions - package io.github.monsieurdoceo.filizer.shared.exceptions
 
io.github.monsieurdoceo.filizer.shared.logging - package io.github.monsieurdoceo.filizer.shared.logging
 
io.github.monsieurdoceo.filizer.shared.util - package io.github.monsieurdoceo.filizer.shared.util
 
io.github.monsieurdoceo.filizer.storage.api - package io.github.monsieurdoceo.filizer.storage.api
 
io.github.monsieurdoceo.filizer.storage.domain - package io.github.monsieurdoceo.filizer.storage.domain
 
io.github.monsieurdoceo.filizer.storage.infrastructure - package io.github.monsieurdoceo.filizer.storage.infrastructure
 
io.github.monsieurdoceo.filizer.storage.sync - package io.github.monsieurdoceo.filizer.storage.sync
 
io.github.monsieurdoceo.filizer.storage.sync.strategy - package io.github.monsieurdoceo.filizer.storage.sync.strategy
 

L

LastModifiedStrategy - Class in io.github.monsieurdoceo.filizer.storage.sync.strategy
Synchronizes files using the filesystem last modified timestamp.
LastModifiedStrategy() - Constructor for class io.github.monsieurdoceo.filizer.storage.sync.strategy.LastModifiedStrategy
Creates a new LastModifiedStrategy instance.
list(String, Object...) - Method in class io.github.monsieurdoceo.filizer.storage.domain.CustomFile
Sets multiple values in the file configuration.
list(String, List<?>) - Method in class io.github.monsieurdoceo.filizer.storage.domain.CustomFile
Sets a list of values in the file configuration.

N

NeverSynchronizationStrategy - Class in io.github.monsieurdoceo.filizer.storage.sync.strategy
Never synchronizes files.
NeverSynchronizationStrategy() - Constructor for class io.github.monsieurdoceo.filizer.storage.sync.strategy.NeverSynchronizationStrategy
Creates a new NeverSynchronizationStrategy instance.

O

onCommand(CommandSender, Command, String, String[]) - Method in class io.github.monsieurdoceo.filizer.commands.DebugCommand
Called when a command is executed
onDisable() - Method in class io.github.monsieurdoceo.filizer.FilizerPlugin
Called when the plugin is disabled.
onEnable() - Method in class io.github.monsieurdoceo.filizer.FilizerPlugin
Called when the plugin is enabled.

P

PluginBootstrap - Class in io.github.monsieurdoceo.filizer.bootstrap
Bootstraps the Filizer plugin.
PluginBootstrap(JavaPlugin) - Constructor for class io.github.monsieurdoceo.filizer.bootstrap.PluginBootstrap
Creates a new PluginBootstrap instance.

R

reload() - Method in class io.github.monsieurdoceo.filizer.storage.domain.CustomFile
Reloads the file configuration from disk.
remove(CustomFile) - Method in class io.github.monsieurdoceo.filizer.storage.infrastructure.FileRegistry
Remove the given CustomFile from storage.
remove(String) - Method in class io.github.monsieurdoceo.filizer.storage.infrastructure.FileRegistry
Removes the CustomFile associated by the given name.
remove(Path) - Method in class io.github.monsieurdoceo.filizer.storage.infrastructure.FileRegistry
Removes the CustomFile associated by the given path.
removeFile(CustomFile) - Method in class io.github.monsieurdoceo.filizer.storage.api.FileManager
Removes the given CustomFile from storage.
removeFile(String) - Method in class io.github.monsieurdoceo.filizer.storage.api.FileManager
Removes a CustomFile from storage by this name.
removeFile(Path, String) - Method in class io.github.monsieurdoceo.filizer.storage.api.FileManager
Removes a file from storage by its path and name.
replaceData(Map<String, Object>) - Method in class io.github.monsieurdoceo.filizer.storage.domain.ConfigurationSectionBuilder
Replaces the current section data.
requireFile(String) - Method in class io.github.monsieurdoceo.filizer.storage.api.FileManager
Retrieves a registered file.

S

save() - Method in class io.github.monsieurdoceo.filizer.storage.domain.CustomFile
Saves the current configuration to disk.
section(ConfigurationSectionBuilder) - Method in class io.github.monsieurdoceo.filizer.storage.domain.CustomFile
Creates and applies a configuration section.
set(String, Object) - Method in class io.github.monsieurdoceo.filizer.storage.domain.ConfigurationSectionBuilder
Adds or replaces a value in this section.
set(String, Object) - Method in class io.github.monsieurdoceo.filizer.storage.domain.CustomFile
Sets a value in the file configuration.
start() - Method in class io.github.monsieurdoceo.filizer.bootstrap.PluginBootstrap
Starts the plugin.
stop() - Method in class io.github.monsieurdoceo.filizer.bootstrap.PluginBootstrap
Stops the plugin.
storeAllFiles(Path) - Method in class io.github.monsieurdoceo.filizer.storage.api.FileManager
Recursively stores all regular files found under the given root path.
synchronize(CustomFile) - Method in interface io.github.monsieurdoceo.filizer.storage.sync.FileSynchronizationStrategy
Synchronizes the given file if required.
synchronize(CustomFile) - Method in class io.github.monsieurdoceo.filizer.storage.sync.strategy.LastModifiedStrategy
Synchronizes the given file if the last modified timestamp is newer.
synchronize(CustomFile) - Method in class io.github.monsieurdoceo.filizer.storage.sync.strategy.NeverSynchronizationStrategy
Performs no synchronization.
synchronize(CustomFile) - Method in class io.github.monsieurdoceo.filizer.storage.sync.strategy.WatchServiceSynchronizationStrategy
Synchronizes the given file.

W

warn(String) - Method in interface io.github.monsieurdoceo.filizer.shared.logging.AppLogger
Logs a warning message.
warn(String) - Method in class io.github.monsieurdoceo.filizer.shared.logging.BukkitAppLogger
Logs a warning message.
WatchServiceSynchronizationStrategy - Class in io.github.monsieurdoceo.filizer.storage.sync.strategy
Synchronizes files using the Java WatchService API.
WatchServiceSynchronizationStrategy() - Constructor for class io.github.monsieurdoceo.filizer.storage.sync.strategy.WatchServiceSynchronizationStrategy
Creates a new WatchServiceSynchronizationStrategy instance.
A B C D E F G H I L N O P R S W 
All Classes and Interfaces|All Packages|Serialized Form