public abstract class IOSetting extends Object implements ISetting
Modifier and Type | Class and Description |
---|---|
static class |
IOSetting.Importance |
Modifier and Type | Field and Description |
---|---|
protected IOSetting.Importance |
level |
protected String |
name |
protected String |
question |
protected String |
setting |
Constructor and Description |
---|
IOSetting(String name,
IOSetting.Importance level,
String question,
String defaultSetting)
The default constructor that sets this field.
|
Modifier and Type | Method and Description |
---|---|
String |
getDefaultSetting() |
IOSetting.Importance |
getLevel() |
String |
getName()
Access the name of the setting.
|
String |
getQuestion() |
String |
getSetting()
Sets the setting for a certain question.
|
void |
setSetting(String setting)
Sets the setting for a certain question.
|
protected IOSetting.Importance level
protected String name
protected String question
protected String setting
public IOSetting(String name, IOSetting.Importance level, String question, String defaultSetting)
name
- Name of the settinglevel
- Level at which question is askedquestion
- Question that is popped to the user when the
ReaderSetting needs settingdefaultSetting
- The default setting, used if not overwritten
by a userpublic String getName()
ISetting
public String getQuestion()
public String getDefaultSetting()
public IOSetting.Importance getLevel()
public void setSetting(String setting) throws CDKException
CDKException
public String getSetting()
Copyright © 2021. All rights reserved.