48 lines
975 B
Java
48 lines
975 B
Java
package net.ME1312.SubServers.Bungee.Library;
|
|
|
|
import net.ME1312.SubServers.Bungee.Library.Config.YAMLSection;
|
|
import net.ME1312.SubServers.Bungee.Library.Config.YAMLValue;
|
|
|
|
/**
|
|
* Extra Data Handler Layout Class
|
|
*/
|
|
public interface ExtraDataHandler {
|
|
/**
|
|
* Add an extra value to this Object
|
|
*
|
|
* @param handle Handle
|
|
* @param value Value
|
|
*/
|
|
void addExtra(String handle, Object value);
|
|
|
|
/**
|
|
* Determine if an extra value exists
|
|
*
|
|
* @param handle Handle
|
|
* @return Value Status
|
|
*/
|
|
boolean hasExtra(String handle);
|
|
|
|
/**
|
|
* Get an extra value
|
|
*
|
|
* @param handle Handle
|
|
* @return Value
|
|
*/
|
|
YAMLValue getExtra(String handle);
|
|
|
|
/**
|
|
* Get the extra value section
|
|
*
|
|
* @return Extra Value Section
|
|
*/
|
|
YAMLSection getExtra();
|
|
|
|
/**
|
|
* Remove an extra value from this Object
|
|
*
|
|
* @param handle Handle
|
|
*/
|
|
void removeExtra(String handle);
|
|
}
|