Class AbstractTppProcessingStepService
java.lang.Object
es.uvigo.esei.sing.textproc.abstracttppstep.AbstractTppProcessingStepService
- All Implemented Interfaces:
ProcessingStepService
public abstract class AbstractTppProcessingStepService extends java.lang.Object implements ProcessingStepService
Implements
getAdditionalParameters()
so that additional parameters
common to every Text Processing Python processing step are returned without
involvement of the subclass.
Extending this class is the mandatory way to implement a
ProcessingStepService
for concrete processing steps.
- Author:
- Alejandro González García
-
Constructor Summary
Constructors Constructor Description AbstractTppProcessingStepService()
-
Method Summary
Modifier and Type Method Description java.util.Set<java.lang.Class<? extends AbstractProcessingStepParameter>>
getAdditionalParameters()
Returns a set with every additional processing step parameter used by the processing step contained in this service.protected abstract java.util.Set<java.lang.Class<? extends AbstractProcessingStepParameter>>
getAdditionalParticularParameters()
This method serves the same purpose and has the same preconditions and postconditions thangetAdditionalParameters()
, but it is named different to avoid signature clashes and allow transparent common parameter injection to concrete services.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface es.uvigo.esei.sing.textproc.step.ProcessingStepService
create, getName, getProcessedDocumentTypes
-
Constructor Details
-
Method Details
-
getAdditionalParameters
public final java.util.Set<java.lang.Class<? extends AbstractProcessingStepParameter>> getAdditionalParameters()Description copied from interface:ProcessingStepService
Returns a set with every additional processing step parameter used by the processing step contained in this service. No unchecked exceptions can be thrown by this method.- Specified by:
getAdditionalParameters
in interfaceProcessingStepService
- Returns:
- The described set. It can be empty and unmodifiable, but it must not
be
null
, and not containnull
elements.
-
getAdditionalParticularParameters
protected abstract java.util.Set<java.lang.Class<? extends AbstractProcessingStepParameter>> getAdditionalParticularParameters()This method serves the same purpose and has the same preconditions and postconditions thangetAdditionalParameters()
, but it is named different to avoid signature clashes and allow transparent common parameter injection to concrete services.- Returns:
- The value of
getAdditionalParameters()
. - See Also:
ProcessingStepService.getAdditionalParameters()
-