public class WorkDir extends ConsoleSetting<Path>
| Constructor and Description |
|---|
WorkDir()
Constructor
Default dir is system property user.dir (= current directory)
|
WorkDir(Path initValue)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
String |
getHelpLong()
Get long description
|
String |
getName()
Get the name of the command
|
void |
set(Path value)
Set the value for this setting
|
void |
setFromString(String value)
Set the value for this setting from a string
|
clear, get, getAsString, getHelpShort, getInitValue, getTypepublic static final String NAME
public WorkDir()
public WorkDir(Path initValue)
initValue - public String getHelpLong()
ConsoleSettinggetHelpLong in interface HelpgetHelpLong in class ConsoleSetting<Path>public String getName()
Helppublic void set(Path value) throws IllegalArgumentException
Settingset in interface Setting<Path>set in class ConsoleSetting<Path>IllegalArgumentExceptionpublic void setFromString(String value) throws IllegalArgumentException
ConsoleSettingsetFromString in class ConsoleSetting<Path>value - string valueIllegalArgumentExceptionCopyright © 2015-2020 Eclipse Foundation. All Rights Reserved.