Class ConsoleSetting<T>
java.lang.Object
org.eclipse.rdf4j.console.setting.ConsoleSetting<T>
- Type Parameters:
T-
- Direct Known Subclasses:
ConsoleWidth,LogLevel,Prefixes,QueryPrefix,SaveHistory,ShowPrefix,WorkDir
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()Clear settingget()Get the current value for this settingGet the value for this setting as a stringGet long descriptionGet short description, small enough to fit on one console rowGet the initial valuegetType()Get the parameter typevoidSet the value for this settingabstract voidsetFromString(String value) Set the value for this setting from a string
-
Constructor Details
-
ConsoleSetting
-
-
Method Details
-
getType
-
getInitValue
Description copied from interface:SettingGet the initial value- Specified by:
getInitValuein interfaceSetting<T>- Returns:
- T
-
get
-
set
-
setFromString
Set the value for this setting from a string- Parameters:
value- string value- Throws:
IllegalArgumentException
-
getAsString
-
clear
-
getHelpShort
Get short description, small enough to fit on one console row- Specified by:
getHelpShortin interfaceHelp- Returns:
- help string
-
getHelpLong
Get long description- Specified by:
getHelpLongin interfaceHelp- Returns:
- string, can be multiple lines
-