Class EngineResultsImpl
java.lang.Object
org.kuali.rice.krms.framework.engine.EngineResultsImpl
- All Implemented Interfaces:
EngineResults
An implementation of
EngineResults using Listinvalid input: '<'ResultEvent> for results and Mapinvalid input: '<'String, Object> for
attributes- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddResult(ResultEvent result) Return a shallow copy of the list of ResultEvents.getAttribute(String key) getResultEvent(int index) Deprecated.getResultsOfType(String type) voidsetAttribute(String key, Object attr)
-
Constructor Details
-
EngineResultsImpl
public EngineResultsImpl()
-
-
Method Details
-
addResult
- Specified by:
addResultin interfaceEngineResults
-
getAllResults
Return a shallow copy of the list of ResultEvents.- Specified by:
getAllResultsin interfaceEngineResults- Returns:
- a shallow copy of all the ResultEvents
-
getResultEvent
Deprecated.usegetAllResults()instead, this method will be removed in a future versionReturns null, unimplemented.- Specified by:
getResultEventin interfaceEngineResults- Parameters:
index- of the ResultEvent to return- Returns:
- null
-
getResultsOfType
- Specified by:
getResultsOfTypein interfaceEngineResults
-
getAttribute
- Specified by:
getAttributein interfaceEngineResults- See Also:
-
setAttribute
- Specified by:
setAttributein interfaceEngineResults- See Also:
-
getAllResults()instead, this method will be removed in a future version