public class DefaultAlgorithmContext extends Object implements AlgoContext
| Constructor and Description |
|---|
DefaultAlgorithmContext()
constructor of the class
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(StepResult stepResult)
adds the result of a step into the context
|
Object |
get(StepIOKeys key)
gets the value whithin the context having the specified identifier
|
void |
set(StepIOKeys key,
Object value)
adds the pair (key, object) in the report context
|
public DefaultAlgorithmContext()
public Object get(StepIOKeys key)
get in interface AlgoContextkey - the indentifierpublic void set(StepIOKeys key, Object value)
AlgoContextset in interface AlgoContextkey - the identifier of the given objectvalue - the object to be registerednet.sf.reportengine.core.algorithm.AlgoContext#get(String)public void add(StepResult stepResult)
AlgoContextadd in interface AlgoContextCopyright © 2006–2015. All rights reserved.