Bring back customisable messages for reloading ServerUtils using wacky methods

This commit is contained in:
Frank van der Heijden 2020-07-20 14:14:23 +02:00
parent 6c8a93dc1b
commit a0bdaeb2fc
No known key found for this signature in database
GPG key ID: 26DA56488D314D11
5 changed files with 57 additions and 22 deletions

View file

@ -2,6 +2,7 @@ package net.frankheijden.serverutils.common.config;
import java.io.IOException;
import java.util.Collection;
import java.util.Map;
/**
* A wrap for a Yaml Configuration file.
@ -15,6 +16,13 @@ public interface YamlConfig {
*/
Object get(String path);
/**
* Retrieves a map with key/values for the path specified.
* @param path The path.
* @return The map object with key/values.
*/
Map<String, Object> getMap(String path);
/**
* Sets a value to a path.
* @param path The path.