public class AbstractDirectoryOption extends AbstractPathOption
| Constructor and Description |
|---|
AbstractDirectoryOption(java.lang.String option,
java.lang.String argName,
java.lang.String helpText) |
AbstractDirectoryOption(java.lang.String option,
java.lang.String argName,
java.lang.String helpText,
boolean isMandatory) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkValue()
Performs additional checks on the entered option value (i.e. file existence etc..)
|
boolean |
isDoCreate() |
void |
setDoCreate(boolean isDoCreate)
If this flag indicates, that the directory should be auto-created if missing.
|
getValue, isMustExist, parseValue, setMustExistequals, getArgumentName, getDefaultValue, getEnvVariableName, getEnvVariableValue, getHelpText, getOption, getOptionAndArgument, getStringValue, hasArgument, hashCode, isMandatory, isPrintHelp, isPrintSyntax, isSecret, isValueTakenFromEnvVariable, parseDefaultValue, parseValue, setDefaultValue, setEnvVariableName, setFound, setHelpText, setMandatory, setPrintHelp, setPrintSyntax, setSecret, setStringValue, toDumpString, toString, wasFoundconfigureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toStringpublic AbstractDirectoryOption(java.lang.String option,
java.lang.String argName,
java.lang.String helpText)
public AbstractDirectoryOption(java.lang.String option,
java.lang.String argName,
java.lang.String helpText,
boolean isMandatory)
public final boolean isDoCreate()
public final void setDoCreate(boolean isDoCreate)
public void checkValue()
throws java.lang.Exception
CommandLineOptioncheckValue in class CommandLineOption<java.io.File>java.lang.ExceptionCopyright © 2014 EsprIT-Systems. All Rights Reserved.