2013-12-24 12:28:40 -06:00
|
|
|
package com.graywolf336.jail.enums;
|
|
|
|
|
|
|
|
public enum Settings {
|
|
|
|
DEBUG("system.debug"),
|
2013-12-24 17:51:41 -06:00
|
|
|
DEFAULTJAIL("jailing.jail.defaultJail"),
|
2013-12-24 12:28:40 -06:00
|
|
|
UPDATENOTIFICATIONS("system.updateNotifications"),
|
|
|
|
JAILDEFAULTTIME("jailing.jail.defaultTime");
|
|
|
|
|
|
|
|
private String path;
|
|
|
|
|
|
|
|
private Settings(String path) {
|
|
|
|
this.path = path;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Gets the path this setting is in config.
|
|
|
|
* @return The path where this setting resides in the config.
|
|
|
|
*/
|
|
|
|
public String getPath() {
|
|
|
|
return this.path;
|
|
|
|
}
|
|
|
|
}
|