public class SimpleParameterGuesser extends Object implements IParameterGuesser
Constructor and Description |
---|
SimpleParameterGuesser(Collection<?> values)
Create a new guesser.
|
SimpleParameterGuesser(IParameterGuesser parent)
Create a new guesser.
|
SimpleParameterGuesser(IParameterGuesser parent,
Collection<?> values)
Create a new guesser.
|
Modifier and Type | Method and Description |
---|---|
IParameterGuesser |
getParent()
Get the parent guesser.
|
Object |
guessParameter(Class<?> type,
boolean exact)
Guess a parameter.
|
void |
setParent(IParameterGuesser parent)
Set the parent.
|
public SimpleParameterGuesser(IParameterGuesser parent)
public SimpleParameterGuesser(Collection<?> values)
public SimpleParameterGuesser(IParameterGuesser parent, Collection<?> values)
public Object guessParameter(Class<?> type, boolean exact)
guessParameter
in interface IParameterGuesser
type
- The type.exact
- Test with exactpublic IParameterGuesser getParent()
getParent
in interface IParameterGuesser
public void setParent(IParameterGuesser parent)
setParent
in interface IParameterGuesser
parent
- The parent.Copyright © 2013. All Rights Reserved.