public class EngineResultsImpl extends Object implements EngineResults
| Constructor and Description | 
|---|
| EngineResultsImpl() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addResult(ResultEvent result)Add the given  ResultEvent | 
| List<ResultEvent> | getAllResults()Return a shallow copy of the list of ResultEvents. | 
| Object | getAttribute(String key)Return the attribute of the given key | 
| ResultEvent | getResultEvent(int index)Returns null, unimplemented. | 
| List<ResultEvent> | getResultsOfType(String type)Return the ResultEvents of the given type | 
| void | setAttribute(String key,
                        Object attr)Set the attribute of the given values | 
public EngineResultsImpl()
public void addResult(ResultEvent result)
EngineResultsResultEventaddResult in interface EngineResultsresult - to addpublic List<ResultEvent> getAllResults()
getAllResults in interface EngineResultspublic ResultEvent getResultEvent(int index)
getResultEvent in interface EngineResultsindex - of the ResultEvent to returnpublic List<ResultEvent> getResultsOfType(String type)
EngineResultsgetResultsOfType in interface EngineResultstype - of result events to returnpublic Object getAttribute(String key)
EngineResultsgetAttribute in interface EngineResultskey - to return the attribute ofEngineResults.getAttribute(java.lang.String)public void setAttribute(String key, Object attr)
EngineResultssetAttribute in interface EngineResultskey - to set the given attribute ofattr - to set as the given key's attributeEngineResults.setAttribute(java.lang.String, java.lang.Object)Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.