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, getType
public static final String NAME
public WorkDir()
public WorkDir(Path initValue)
initValue
- public String getHelpLong()
ConsoleSetting
getHelpLong
in interface Help
getHelpLong
in class ConsoleSetting<Path>
public String getName()
Help
public void set(Path value) throws IllegalArgumentException
Setting
set
in interface Setting<Path>
set
in class ConsoleSetting<Path>
IllegalArgumentException
public void setFromString(String value) throws IllegalArgumentException
ConsoleSetting
setFromString
in class ConsoleSetting<Path>
value
- string valueIllegalArgumentException
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.