Class Setting.Plugin
java.lang.Object
com.tenio.core.configuration.setting.Setting.Plugin
- Enclosing class:
- Setting
A mapping class which references to this
setting.json
file.-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Plugin
public Plugin()
-
-
Method Details
-
isEnabled
public boolean isEnabled()Checks whether this command is enabled.- Returns:
true
if the command is enabled, otherwise, returnsfalse
-
setEnabled
public void setEnabled(boolean enabled) Setups the command.- Parameters:
enabled
- sets its value totrue
to enable the command, otherwise, put the valuefalse
-
getPath
Retrieves the plugin executable file's path.- Returns:
- the plugin path
-
setPath
Sets the plugin executable file's path.- Parameters:
path
- the file's path
-
toString
-