Class ExtractionDefinitionFilesEnumerator
java.lang.Object
org.ametys.plugins.core.impl.enumerator.AbstractTraversableSourceEnumerator
org.ametys.plugins.extraction.execution.ExtractionDefinitionFilesEnumerator
- All Implemented Interfaces:
Enumerator<String>
,Serviceable
Enumerator for extraction definition files
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
acceptSource
(TraversableSource source) Specify if a source should be included in the result.protected String
Provide the location of the Source to extract the content fromMethods inherited from class org.ametys.plugins.core.impl.enumerator.AbstractTraversableSourceEnumerator
getEntry, getTypedEntries, service
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.ametys.runtime.model.Enumerator
getConfiguration
-
Constructor Details
-
ExtractionDefinitionFilesEnumerator
public ExtractionDefinitionFilesEnumerator()
-
-
Method Details
-
getLocation
Description copied from class:AbstractTraversableSourceEnumerator
Provide the location of the Source to extract the content from- Specified by:
getLocation
in classAbstractTraversableSourceEnumerator
- Returns:
- the location of the source
-
acceptSource
Description copied from class:AbstractTraversableSourceEnumerator
Specify if a source should be included in the result.- Overrides:
acceptSource
in classAbstractTraversableSourceEnumerator
- Parameters:
source
- the Source to test- Returns:
- true if the source should be included, false otherwise
-