Package com.codetaco.cli.impl
Interface ICmdLine
-
- All Superinterfaces:
Comparable<ICmdLine>
,com.codetaco.cli.impl.type.ICmdLineArg<ICmdLine>
- All Known Implementing Classes:
CmdLineImpl
public interface ICmdLine extends Comparable<ICmdLine>, com.codetaco.cli.impl.type.ICmdLineArg<ICmdLine>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
add(int index, com.codetaco.cli.impl.type.ICmdLineArg<?> arg)
void
add(com.codetaco.cli.impl.type.ICmdLineArg<?> arg)
void
addDefaultIncludeDirectory(File directory)
List<com.codetaco.cli.impl.type.ICmdLineArg<?>>
allArgs()
com.codetaco.cli.impl.type.ICmdLineArg<?>
arg(String commandToken)
com.codetaco.cli.impl.type.ICmdLineArg<?>
argForVariableName(String variableName)
void
assignVariables(Object target)
ICmdLine
clone()
char
getCommandPrefix()
String
getName()
List<ParseException>
getParseExceptions()
int
indexOf(com.codetaco.cli.impl.type.ICmdLineArg<?> arg)
Object
parse(com.codetaco.cli.impl.parser.IParserInput cmd)
Object
parse(com.codetaco.cli.impl.parser.IParserInput cmd, Object target)
Object
parse(Object target, String... args)
Object
parse(String... args)
void
pull(Object variableSource)
void
remove(int argIndex)
void
remove(com.codetaco.cli.impl.type.ICmdLineArg<?> arg)
int
size()
-
Methods inherited from interface java.lang.Comparable
compareTo
-
Methods inherited from interface com.codetaco.cli.impl.type.ICmdLineArg
applyDefaults, asDefinedType, asEnum, asEnumArray, convert, convert, defaultInstanceClass, exportCommandLine, exportNamespace, exportXml, genericClassName, getCamelCaps, getCriteria, getDefaultValues, getDelegateOrValue, getDelegateOrValue, getEnumClassName, getFactoryArgName, getFactoryMethodName, getFormat, getHelp, getInstanceClass, getKeychar, getKeyword, getMetaphone, getMultipleMax, getMultipleMin, getUniqueId, getValue, getValue, getValueAsbyteArray, getValueAsByteArray, getValueAsCalendarArray, getValueAsCharacterArray, getValueAscharArray, getValueAsDateArray, getValueAsDateTimeFormatter, getValueAsDateTimeFormatterArray, getValueAsdoubleArray, getValueAsDoubleArray, getValueAsEquation, getValueAsEquationArray, getValueAsFileArray, getValueAsfloatArray, getValueAsFloatArray, getValueAsintArray, getValueAsIntegerArray, getValueAsLocalDateArray, getValueAsLocalDateTimeArray, getValueAsLocalTimeArray, getValueAslongArray, getValueAsLongArray, getValueAsPattern, getValueAsPatternArray, getValueAsSimpleDateFormat, getValueAsSimpleDateFormatArray, getValueAsStringArray, getValueAsURLArray, getValueAsZonedDateTimeArray, getValues, getVariable, hasValue, isCaseSensitive, isMetaphoneAllowed, isMultiple, isParsed, isPositional, isRequired, isRequiredValue, isSystemGenerated, reset, resetCriteria, salience, setCaseSensitive, setDefaultValue, setEnumCriteria, setEnumCriteriaAllowError, setFactoryArgName, setFactoryMethodName, setFormat, setHelp, setInstanceClass, setKeychar, setKeyword, setListCriteria, setMetaphoneAllowed, setMultiple, setMultiple, setMultiple, setObject, setParsed, setPositional, setRangeCriteria, setRegxCriteria, setRequired, setRequiredValue, setSystemGenerated, setType, setUniqueId, setValue, setValue, setVariable, supportsCaseSensitive, supportsDefaultValues, supportsExcludeArgs, supportsFactoryArgName, supportsFactoryMethod, supportsFormat, supportsHelp, supportsInList, supportsInstanceClass, supportsLongName, supportsMatches, supportsMetaphone, supportsMultimax, supportsMultimin, supportsPositional, supportsRange, supportsRequired, supportsShortName, useDefaults
-
-
-
-
Method Detail
-
add
void add(com.codetaco.cli.impl.type.ICmdLineArg<?> arg)
-
add
void add(int index, com.codetaco.cli.impl.type.ICmdLineArg<?> arg)
-
addDefaultIncludeDirectory
void addDefaultIncludeDirectory(File directory)
-
allArgs
List<com.codetaco.cli.impl.type.ICmdLineArg<?>> allArgs()
-
arg
com.codetaco.cli.impl.type.ICmdLineArg<?> arg(String commandToken)
-
argForVariableName
com.codetaco.cli.impl.type.ICmdLineArg<?> argForVariableName(String variableName)
-
assignVariables
void assignVariables(Object target)
-
getCommandPrefix
char getCommandPrefix()
-
getName
String getName()
-
getParseExceptions
List<ParseException> getParseExceptions()
-
indexOf
int indexOf(com.codetaco.cli.impl.type.ICmdLineArg<?> arg)
-
parse
Object parse(com.codetaco.cli.impl.parser.IParserInput cmd)
-
pull
void pull(Object variableSource)
-
remove
void remove(com.codetaco.cli.impl.type.ICmdLineArg<?> arg)
-
remove
void remove(int argIndex)
-
clone
ICmdLine clone() throws CloneNotSupportedException
- Specified by:
clone
in interfacecom.codetaco.cli.impl.type.ICmdLineArg<ICmdLine>
- Throws:
CloneNotSupportedException
-
size
int size()
- Specified by:
size
in interfacecom.codetaco.cli.impl.type.ICmdLineArg<ICmdLine>
-
-