|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kuali.kpme.core.krms.function.FunctionTermResolver
public abstract class FunctionTermResolver
Copied from Kuali Coeus.
Constructor Summary | |
---|---|
FunctionTermResolver(List<String> orderedInputParams,
Set<String> parameterNames,
String output)
|
Method Summary | |
---|---|
protected abstract Object |
executeFunction(String serviceName,
String methodName,
Map<String,Object> resolvedPrereqs,
Map<String,String> resolvedParameters)
This method execute the function/method and return 'true' or 'false' |
protected List<Object> |
extractParamValues(Map<String,Object> resolvedPrereqs,
Map<String,String> resolvedParameters)
|
int |
getCost()
|
org.kuali.rice.krms.api.repository.function.FunctionDefinition |
getFunctionTerm()
Gets the functionTerm attribute. |
List<String> |
getOrderedInputParams()
|
String |
getOutput()
Returns the name of the function needs to be executed as part of the Term |
Set<String> |
getParameterNames()
|
Set<String> |
getPrerequisites()
|
Object |
resolve(Map<String,Object> resolvedPrereqs,
Map<String,String> parameters)
This method executes the stored function and returns the result. |
void |
setFunctionTerm(org.kuali.rice.krms.api.repository.function.FunctionDefinition functionTerm)
Sets the functionTerm attribute value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FunctionTermResolver(List<String> orderedInputParams, Set<String> parameterNames, String output)
Method Detail |
---|
public List<String> getOrderedInputParams()
public Set<String> getPrerequisites()
getPrerequisites
in interface org.kuali.rice.krms.api.engine.TermResolver<Object>
public String getOutput()
getOutput
in interface org.kuali.rice.krms.api.engine.TermResolver<Object>
TermResolver.getOutput()
public Set<String> getParameterNames()
getParameterNames
in interface org.kuali.rice.krms.api.engine.TermResolver<Object>
public int getCost()
getCost
in interface org.kuali.rice.krms.api.engine.TermResolver<Object>
public Object resolve(Map<String,Object> resolvedPrereqs, Map<String,String> parameters)
resolve
in interface org.kuali.rice.krms.api.engine.TermResolver<Object>
TermResolver.resolve(java.util.Map, java.util.Map)
protected abstract Object executeFunction(String serviceName, String methodName, Map<String,Object> resolvedPrereqs, Map<String,String> resolvedParameters)
resolvedPrereqs
-
protected List<Object> extractParamValues(Map<String,Object> resolvedPrereqs, Map<String,String> resolvedParameters)
public org.kuali.rice.krms.api.repository.function.FunctionDefinition getFunctionTerm()
public void setFunctionTerm(org.kuali.rice.krms.api.repository.function.FunctionDefinition functionTerm)
functionTerm
- The functionTerm to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |