Package org.citrusframework.variable
Interface SegmentVariableExtractor
- All Known Implementing Classes:
SegmentVariableExtractorRegistry.AbstractSegmentVariableExtractor,SegmentVariableExtractorRegistry.IndexedSegmentVariableExtractor,SegmentVariableExtractorRegistry.MapVariableExtractor,SegmentVariableExtractorRegistry.ObjectFieldValueExtractor
public interface SegmentVariableExtractor
Class extracting values of segments of VariableExpressions.
- Author:
- Thorsten Schlathoelter
-
Method Summary
Modifier and TypeMethodDescriptionbooleancanExtract(TestContext testContext, Object object, VariableExpressionSegmentMatcher matcher) Extract variables from given object.extractValue(TestContext testContext, Object object, VariableExpressionSegmentMatcher matcher) Extract variables from given object.
-
Method Details
-
canExtract
boolean canExtract(TestContext testContext, Object object, VariableExpressionSegmentMatcher matcher) Extract variables from given object.- Parameters:
object- the object of which to extract the valuematcher-
-
extractValue
Object extractValue(TestContext testContext, Object object, VariableExpressionSegmentMatcher matcher) Extract variables from given object. Implementations should throw a CitrusRuntimeException- Parameters:
object- the object of which to extract the valuematcher-
-