Package org.citrusframework.variable
Class SegmentVariableExtractorRegistry.ObjectFieldValueExtractor
java.lang.Object
org.citrusframework.variable.SegmentVariableExtractorRegistry.AbstractSegmentVariableExtractor
org.citrusframework.variable.SegmentVariableExtractorRegistry.IndexedSegmentVariableExtractor
org.citrusframework.variable.SegmentVariableExtractorRegistry.ObjectFieldValueExtractor
- All Implemented Interfaces:
SegmentVariableExtractor
- Enclosing class:
- SegmentVariableExtractorRegistry
public static class SegmentVariableExtractorRegistry.ObjectFieldValueExtractor
extends SegmentVariableExtractorRegistry.IndexedSegmentVariableExtractor
SegmentVariableExtractor that accesses the segment value by a
Field of the parentObject-
Field Summary
FieldsModifier and TypeFieldDescription -
Method Summary
Modifier and TypeMethodDescriptionbooleancanExtract(TestContext testContext, Object object, VariableExpressionSegmentMatcher matcher) Extract variables from given object.protected ObjectdoExtractIndexedValue(TestContext testContext, Object parentObject, VariableExpressionSegmentMatcher matcher) Extract the indexed value from the objectMethods inherited from class org.citrusframework.variable.SegmentVariableExtractorRegistry.IndexedSegmentVariableExtractor
doExtractValueMethods inherited from class org.citrusframework.variable.SegmentVariableExtractorRegistry.AbstractSegmentVariableExtractor
extractValue
-
Field Details
-
INSTANCE
-
-
Method Details
-
doExtractIndexedValue
protected Object doExtractIndexedValue(TestContext testContext, Object parentObject, VariableExpressionSegmentMatcher matcher) Description copied from class:SegmentVariableExtractorRegistry.IndexedSegmentVariableExtractorExtract the indexed value from the object- Specified by:
doExtractIndexedValuein classSegmentVariableExtractorRegistry.IndexedSegmentVariableExtractor- Returns:
-
canExtract
public boolean canExtract(TestContext testContext, Object object, VariableExpressionSegmentMatcher matcher) Description copied from interface:SegmentVariableExtractorExtract variables from given object.object- the object of which to extract the value
-