Package org.citrusframework.variable
Class SegmentVariableExtractorRegistry.IndexedSegmentVariableExtractor
java.lang.Object
org.citrusframework.variable.SegmentVariableExtractorRegistry.AbstractSegmentVariableExtractor
org.citrusframework.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 -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract ObjectdoExtractIndexedValue(TestContext testContext, Object object, VariableExpressionSegmentMatcher matcher) Extract the indexed value from the objectfinal ObjectdoExtractValue(TestContext testContext, Object object, VariableExpressionSegmentMatcher matcher) Methods inherited from class org.citrusframework.variable.SegmentVariableExtractorRegistry.AbstractSegmentVariableExtractor
extractValueMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.citrusframework.variable.SegmentVariableExtractor
canExtract
-
Constructor Details
-
IndexedSegmentVariableExtractor
public IndexedSegmentVariableExtractor()
-
-
Method Details
-
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:
-