public class TermResolverMock<T> extends Object implements TermResolver<T>
TermResolver
implementation for testing purposes.Constructor and Description |
---|
TermResolverMock(String outputName,
String[] params,
T result) |
TermResolverMock(String outputName,
T result) |
Modifier and Type | Method and Description |
---|---|
int |
getCost() |
String |
getOutput() |
Set<String> |
getParameterNames() |
Set<String> |
getPrerequisites() |
T |
resolve(Map<String,Object> resolvedPrereqs,
Map<String,String> parameters) |
public TermResolverMock(String outputName, T result)
public TermResolverMock(String outputName, String[] params, T result)
public int getCost()
getCost
in interface TermResolver<T>
public String getOutput()
getOutput
in interface TermResolver<T>
public Set<String> getPrerequisites()
getPrerequisites
in interface TermResolver<T>
public Set<String> getParameterNames()
getParameterNames
in interface TermResolver<T>
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.