|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FunctionRepositoryService
The function repository contains information about custom functions which can be used on propositions that are defined when constructing rules.
Method Summary | |
---|---|
FunctionDefinition |
getFunction(String functionId)
Retrieves the function for the given functionId. |
List<FunctionDefinition> |
getFunctions(List<String> functionIds)
Retrieves all of the functions for the given list of functionIds. |
Method Detail |
---|
FunctionDefinition getFunction(String functionId) throws RiceIllegalArgumentException
functionId
- the id of the function to retrieve
RiceIllegalArgumentException
- if the given functionId is nullList<FunctionDefinition> getFunctions(List<String> functionIds) throws RiceIllegalArgumentException
The list which is returned from this operation may not be the same size as the list which is passed to this method. If a function doesn't exist for a given function id then no result for that id will be returned in the list. As a result of this, the returned list can be empty, but it will never be null.
functionIds
- the list of function ids for which to retrieve the functions
RiceIllegalArgumentException
- if the given list of functionIds is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |