public class Spec extends Object implements IResult
Modifier and Type | Method and Description |
---|---|
String |
getName() |
Map<String,String> |
getParams()
Get the entire set of parameters.
|
ResultMetaData |
getResultMetaData()
(Optionally) Return meta data of the result needed to fine-tune the
display of the result.
|
String |
getTemplate() |
void |
merge(Spec other)
Merge with another Spec.
|
void |
putAll(Map<String,String> map)
Add an entire map of a parameter names and values.
|
void |
set(String key,
String value)
Set a parameter to control the formatting of a report
|
void |
setName(String name) |
void |
setTemplate(String template) |
public ResultMetaData getResultMetaData()
IResult
getResultMetaData
in interface IResult
public String getName()
public void setName(String name)
public String getTemplate()
public void setTemplate(String template)
public Map<String,String> getParams()
public void putAll(Map<String,String> map)
map
- a map of names and associated valuespublic void set(String key, String value)
key
- a Params
valuevalue
- the value which controls an aspect of the reportpublic void merge(Spec other)
other
- the other Spec