Class Setting.Command
java.lang.Object
com.tenio.core.configuration.setting.Setting.Command
- Enclosing class:
- Setting
A mapping class which references to this
setting.json file.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanChecks whether this command is enabled.voidsetEnabled(boolean enabled) Setups the command.toString()
-
Constructor Details
-
Command
public Command()
-
-
Method Details
-
isEnabled
public boolean isEnabled()Checks whether this command is enabled.- Returns:
trueif the command is enabled, otherwise, returnsfalse
-
setEnabled
public void setEnabled(boolean enabled) Setups the command.- Parameters:
enabled- sets its value totrueto enable the command, otherwise, put the valuefalse
-
toString
-