Bring back customisable messages for reloading ServerUtils using wacky methods
This commit is contained in:
parent
6c8a93dc1b
commit
a0bdaeb2fc
5 changed files with 57 additions and 22 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue