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 IParameterGuessertype - The type.exact - Test with exactpublic IParameterGuesser getParent()
public void setParent(IParameterGuesser parent)
parent - The parent.Copyright © 2015. All Rights Reserved.