Interface Configuration<T>
- Type Parameters:
T
- type of saved object
@NonExtendable
public interface Configuration<T>
Saves and retrieves configuration object
- Since:
- 0.3.0
-
Method Summary
-
Method Details
-
get
T get()Gets current value, can be inherited from another configuration- Returns:
- Current value
-
isSet
boolean isSet()Check if current configuration object contains custom value- Returns:
- true if value is set
-
set
Sets new value for that configuration- Parameters:
value
- Value you wish to save
-
clear
void clear()Resets current value of this configuration
-