Class ExtractionDefinitionFilesEnumerator
- java.lang.Object
-
- org.ametys.plugins.core.impl.enumerator.AbstractTraversableSourceEnumerator
-
- org.ametys.plugins.extraction.execution.ExtractionDefinitionFilesEnumerator
-
- All Implemented Interfaces:
Enumerator<String>
,Serviceable
public class ExtractionDefinitionFilesEnumerator extends AbstractTraversableSourceEnumerator
Enumerator for extraction definition files
-
-
Constructor Summary
Constructors Constructor Description ExtractionDefinitionFilesEnumerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
acceptSource(TraversableSource source)
Specify if a source should be included in the result.protected String
getLocation()
Provide the location of the Source to extract the content from-
Methods 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 Detail
-
ExtractionDefinitionFilesEnumerator
public ExtractionDefinitionFilesEnumerator()
-
-
Method Detail
-
getLocation
protected String 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
protected boolean acceptSource(TraversableSource source)
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
-
-