org.kuali.rice.krms.framework
Class TermResolverMock<T>
java.lang.Object
org.kuali.rice.krms.framework.TermResolverMock<T>
- All Implemented Interfaces:
- TermResolver<T>
public class TermResolverMock<T>
- extends Object
- implements TermResolver<T>
Cheesy TermResolver
implementation for testing purposes.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TermResolverMock
public TermResolverMock(String outputName,
T result)
TermResolverMock
public TermResolverMock(String outputName,
String[] params,
T result)
getCost
public int getCost()
- Specified by:
getCost
in interface TermResolver<T>
getOutput
public String getOutput()
- Specified by:
getOutput
in interface TermResolver<T>
getPrerequisites
public Set<String> getPrerequisites()
- Specified by:
getPrerequisites
in interface TermResolver<T>
getParameterNames
public Set<String> getParameterNames()
- Specified by:
getParameterNames
in interface TermResolver<T>
resolve
public T resolve(Map<String,Object> resolvedPrereqs,
Map<String,String> parameters)
- Specified by:
resolve
in interface TermResolver<T>
Copyright © 2005-2014 The Kuali Foundation. All Rights Reserved.