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, setValue
public String getDescription()
getDescription
in interface IArgument
public void setDescription(String description)
description
- The description to set.public UnparsedExpression getDefaultValue()
getDefaultValue
in interface IArgument
public boolean validate(String input)
public String toString()
toString
in class UnparsedExpression
Copyright © 2012. All Rights Reserved.