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 AlgoContext
key
- the indentifierpublic void set(StepIOKeys key, Object value)
AlgoContext
set
in interface AlgoContext
key
- the identifier of the given objectvalue
- the object to be registerednet.sf.reportengine.core.algorithm.AlgoContext#get(String)
public void add(StepResult stepResult)
AlgoContext
add
in interface AlgoContext
Copyright © 2006–2015. All rights reserved.