Package com.consol.citrus.variable
Class SegmentVariableExtractorRegistry.IndexedSegmentVariableExtractor
- java.lang.Object
-
- com.consol.citrus.variable.SegmentVariableExtractorRegistry.AbstractSegmentVariableExtractor
-
- com.consol.citrus.variable.SegmentVariableExtractorRegistry.IndexedSegmentVariableExtractor
-
- All Implemented Interfaces:
SegmentVariableExtractor
- Direct Known Subclasses:
SegmentVariableExtractorRegistry.MapVariableExtractor,SegmentVariableExtractorRegistry.ObjectFieldValueExtractor
- Enclosing class:
- SegmentVariableExtractorRegistry
public abstract static class SegmentVariableExtractorRegistry.IndexedSegmentVariableExtractor extends SegmentVariableExtractorRegistry.AbstractSegmentVariableExtractor
Base class for extractors that can operate on indexed values.
-
-
Constructor Summary
Constructors Constructor Description IndexedSegmentVariableExtractor()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract ObjectdoExtractIndexedValue(TestContext testContext, Object object, VariableExpressionSegmentMatcher matcher)Extract the indexed value from the objectObjectdoExtractValue(TestContext testContext, Object object, VariableExpressionSegmentMatcher matcher)-
Methods inherited from class com.consol.citrus.variable.SegmentVariableExtractorRegistry.AbstractSegmentVariableExtractor
extractValue
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.consol.citrus.variable.SegmentVariableExtractor
canExtract
-
-
-
-
Method Detail
-
doExtractValue
public final Object doExtractValue(TestContext testContext, Object object, VariableExpressionSegmentMatcher matcher)
- Specified by:
doExtractValuein classSegmentVariableExtractorRegistry.AbstractSegmentVariableExtractor
-
doExtractIndexedValue
protected abstract Object doExtractIndexedValue(TestContext testContext, Object object, VariableExpressionSegmentMatcher matcher)
Extract the indexed value from the object- Parameters:
object-matcher-- Returns:
-
-