Class ComboMatcher<T>
java.lang.Object
de.ppi.deepsampler.persistence.api.ComboMatcher<T>
- Type Parameters:
T- type to get matched in some sense
- All Implemented Interfaces:
de.ppi.deepsampler.core.model.ParameterMatcher<T>
public class ComboMatcher<T>
extends java.lang.Object
implements de.ppi.deepsampler.core.model.ParameterMatcher<T>
Special matcher to apply a
This class will basically behave exactly like the given
Never create
ParameterMatcher and a PersistentMatcher to a single argument when defining a sample.
This class will basically behave exactly like the given
ParameterMatcher, but additionally it will hold a PersistentMatcher to
retrieve it later in the loading process of persistent samples.
Never create
ComboMatcher yourself! Always use PersistentMatchers.combo(Object, PersistentMatcher) for this.-
Method Summary
Modifier and Type Method Description de.ppi.deepsampler.core.model.ParameterMatcher<T>getParameterMatcher()PersistentMatcher<T>getPersistentMatcher()booleanmatches(T parameter)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
getPersistentMatcher
- Returns:
- the hold
PersistentMatcher
-
getParameterMatcher
- Returns:
- the imitated
ParameterMatcher
-
matches
- Specified by:
matchesin interfacede.ppi.deepsampler.core.model.ParameterMatcher<T>
-