Class Setting
java.lang.Object
com.tenio.core.configuration.setting.Setting
A mapping class which references to this
setting.json file.- Since:
- 0.4.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA mapping class which references to thissetting.jsonfile.static final classA mapping class which references to thissetting.jsonfile. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the command section.Retrieves the plugin section.voidsetCommand(Setting.Command command) Sets the command sections.voidsetPlugin(Setting.Plugin plugin) Sets the plugin sections.toString()
-
Constructor Details
-
Setting
public Setting()
-
-
Method Details
-
getCommand
Retrieves the command section.- Returns:
- an instance of
Setting.Command
-
setCommand
Sets the command sections.- Parameters:
command- the instance ofSetting.Commandreferences to its settings
-
getPlugin
Retrieves the plugin section.- Returns:
- an instance of
Setting.Plugin
-
setPlugin
Sets the plugin sections.- Parameters:
plugin- the instance ofSetting.Pluginreferences to its settings
-
toString
-