Package org.kuali.rice.krms.api.engine
Interface EngineResults
public interface EngineResults
Results of an
Engine's execution- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddResult(ResultEvent result) Add the givenResultEventReturn the list of ResultEventsgetAttribute(String key) Return the attribute of the given keygetResultEvent(int index) Deprecated.getResultsOfType(String type) Return the ResultEvents of the given typevoidsetAttribute(String key, Object attribute) Set the attribute of the given values
-
Method Details
-
getResultEvent
Deprecated.usegetAllResults()instead, this method will be removed in a future versionReturn the ResultEvent for the given index- Parameters:
index- of the ResultEvent to return- Returns:
ResultEventwhose index was given
-
getAllResults
List<ResultEvent> getAllResults()Return the list of ResultEvents- Returns:
- List<ResultEventinvalid input: '&'*gt; all the results
-
getResultsOfType
Return the ResultEvents of the given type- Parameters:
type- of result events to return- Returns:
- List<ResultEvent> of the given type
-
getAttribute
Return the attribute of the given key- Parameters:
key- to return the attribute of- Returns:
- Object that is the attribute for the given key
-
setAttribute
Set the attribute of the given values- Parameters:
key- to set the given attribute ofattribute- to set as the given key's attribute
-
addResult
Add the givenResultEvent- Parameters:
result- to add
-
getAllResults()instead, this method will be removed in a future version