Class SaveHistory
- java.lang.Object
-
- org.eclipse.rdf4j.console.setting.ConsoleSetting<Boolean>
-
- org.eclipse.rdf4j.console.setting.SaveHistory
-
public class SaveHistory extends ConsoleSetting<Boolean>
Save command history to a file.- Author:
- Bart Hanssens
-
-
Constructor Summary
Constructors Constructor Description SaveHistory()
ConstructorSaveHistory(Boolean initValue)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getHelpLong()
Get long descriptionString
getName()
Get the name of the commandvoid
setFromString(String value)
Set the value for this setting from a string-
Methods inherited from class org.eclipse.rdf4j.console.setting.ConsoleSetting
clear, get, getAsString, getHelpShort, getInitValue, getType, set
-
-
-
-
Field Detail
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SaveHistory
public SaveHistory()
Constructor
-
SaveHistory
public SaveHistory(Boolean initValue)
Constructor- Parameters:
initValue
-
-
-
Method Detail
-
getHelpLong
public String getHelpLong()
Description copied from class:ConsoleSetting
Get long description- Specified by:
getHelpLong
in interfaceHelp
- Overrides:
getHelpLong
in classConsoleSetting<Boolean>
- Returns:
- string, can be multiple lines
-
getName
public String getName()
Description copied from interface:Help
Get the name of the command- Returns:
- string
-
setFromString
public void setFromString(String value) throws IllegalArgumentException
Description copied from class:ConsoleSetting
Set the value for this setting from a string- Specified by:
setFromString
in classConsoleSetting<Boolean>
- Parameters:
value
- string value- Throws:
IllegalArgumentException
-
-