public class Argument extends UnparsedExpression implements IArgument
| Constructor and Description |
|---|
Argument()
Create a new argument.
|
Argument(String name,
String description,
String classname,
String defaultvalue)
Create a new argument.
|
| Modifier and Type | Method and Description |
|---|---|
UnparsedExpression |
getDefaultValue()
Get the default value.
|
String |
getDescription()
Get the description.
|
static Object |
getResult(Collection<Tuple2<String,Object>> results,
String name)
Get a specific result from a result collection.
|
void |
setDescription(String description)
Set the description.
|
String |
toString()
Get the string representation.
|
boolean |
validate(String input)
Check the validity of an input.
|
getClazz, getLanguage, getName, getParsedValue, getProperty, getValue, parseExpression, setClazz, setLanguage, setName, setValuepublic String getDescription()
getDescription in interface IArgumentpublic void setDescription(String description)
description - The description to set.public UnparsedExpression getDefaultValue()
getDefaultValue in interface IArgumentpublic boolean validate(String input)
public String toString()
toString in class UnparsedExpressionCopyright © 2012. All Rights Reserved.