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 |
|---|---|
static Map<String,Object> |
convertArguments(Collection<Tuple2<String,Object>> results)
Convert arguments to argument map.
|
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, getParsed, getValue, setClazz, setLanguage, setName, setParsedExp, 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 UnparsedExpressionpublic static Object getResult(Collection<Tuple2<String,Object>> results, String name)
Copyright © 2015. All Rights Reserved.