public abstract class IOSetting extends Object
Modifier and Type | Field and Description |
---|---|
static int |
HIGH
The levels available:
HIGH important question
MEDIUM
LOW unimportant question
|
static int |
LOW |
static int |
MEDIUM |
Constructor and Description |
---|
IOSetting(String name,
int level,
String question,
String defaultSetting)
The default constructor that sets this field.
|
Modifier and Type | Method and Description |
---|---|
String |
getDefaultSetting() |
int |
getLevel() |
String |
getName() |
String |
getQuestion() |
String |
getSetting()
Sets the setting for a certain question.
|
void |
setSetting(String setting)
Sets the setting for a certain question.
|
public static final int HIGH
public static final int MEDIUM
public static final int LOW
public IOSetting(String name, int level, String question, String defaultSetting)
name
- Name of the settinglevel
- Level at which question is askedquestion
- Question that is poped to the user when the
ReaderSetting needs settingdefaultSetting
- The default setting, used if not overwritten
by a userpublic String getName()
public String getQuestion()
public String getDefaultSetting()
public int getLevel()
public void setSetting(String setting) throws CDKException
CDKException
public String getSetting()