Class ListExtractionMatcher
- java.lang.Object
-
- org.ametys.plugins.extraction.execution.pipeline.impl.ListExtractionMatcher
-
- All Implemented Interfaces:
ExtractionMatcher
public class ListExtractionMatcher extends Object implements ExtractionMatcher
ExtractionMatcher
for aPipeline
that handles a list of extractions
-
-
Field Summary
Fields Modifier and Type Field Description private Collection<String>
_handled
-
Constructor Summary
Constructors Constructor Description ListExtractionMatcher(Collection<String> handled)
Creates aListExtractionMatcher
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isHandled(String extractionId)
Checks if the extraction with the given identifier is handled by thePipeline
-
-
-
Field Detail
-
_handled
private Collection<String> _handled
-
-
Constructor Detail
-
ListExtractionMatcher
public ListExtractionMatcher(Collection<String> handled)
Creates aListExtractionMatcher
- Parameters:
handled
- the list of handled extractions
-
-
Method Detail
-
isHandled
public boolean isHandled(String extractionId)
Description copied from interface:ExtractionMatcher
Checks if the extraction with the given identifier is handled by thePipeline
- Specified by:
isHandled
in interfaceExtractionMatcher
- Parameters:
extractionId
- the extraction identifier- Returns:
true
if the extraction is handled by thePipeline
, false otherwise
-
-