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)
Deprecated.
use
getAllResults() instead, this method will be removed in a future version |
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)
EngineResults
ResultEvent
addResult
in interface EngineResults
result
- to addpublic List<ResultEvent> getAllResults()
getAllResults
in interface EngineResults
@Deprecated public ResultEvent getResultEvent(int index)
getAllResults()
instead, this method will be removed in a future versiongetResultEvent
in interface EngineResults
index
- of the ResultEvent to returnpublic List<ResultEvent> getResultsOfType(String type)
EngineResults
getResultsOfType
in interface EngineResults
type
- of result events to returnpublic Object getAttribute(String key)
EngineResults
getAttribute
in interface EngineResults
key
- to return the attribute ofEngineResults.getAttribute(java.lang.String)
public void setAttribute(String key, Object attr)
EngineResults
setAttribute
in interface EngineResults
key
- to set the given attribute ofattr
- to set as the given key's attributeEngineResults.setAttribute(java.lang.String, java.lang.Object)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.