public interface Pepper
Modifier and Type | Method and Description |
---|---|
Collection<ModuleFitness> |
checkFitness()
Checks the fitness of each registered Pepper module.
|
String |
createJob()
Creates a new
PepperJob object for a new conversion process. |
Set<String> |
findAppropriateImporters(org.eclipse.emf.common.util.URI corpusPath)
Returns the names of importers which can import the data located at the
specified
corpusPath . |
PepperConfiguration |
getConfiguration()
Returns set configuration for
Pepper . |
PepperJob |
getJob(String id)
Returns a
PepperJob corresponding to the passed id. |
Collection<PepperModuleDesc> |
getRegisteredImporters()
Returns all
PepperModuleDesc corresponding to a registered
importer. |
Collection<PepperModuleDesc> |
getRegisteredModules()
Returns a collection of all
PepperModuleDesc corresponding to
Pepper modules, which are registered in this Pepper instance. |
String |
getRegisteredModulesAsString()
Returns a string representation of the method
getRegisteredModules() . |
boolean |
removeJob(String id)
Removes the
PepperJob corresponding to the passed identifier, if
a job exists. |
Collection<String> |
selfTest()
Deprecated.
|
void |
setConfiguration(PepperConfiguration configuration)
Sets the configuration for
Pepper . |
PepperConfiguration getConfiguration()
Pepper
.void setConfiguration(PepperConfiguration configuration)
Pepper
.configuration
- Set<String> findAppropriateImporters(org.eclipse.emf.common.util.URI corpusPath) throws FileNotFoundException
corpusPath
. If no importer was found for importing
the returned list is empty, not null.corpusPath
- the path which should be checked by each importercorpusPath
FileNotFoundException
String createJob()
PepperJob
object for a new conversion process.PepperJob
PepperJob getJob(String id) throws JobNotFoundException
PepperJob
corresponding to the passed id.id
- identifier of a PepperJob
PepperJob
corresponding to the passed idJobNotFoundException
boolean removeJob(String id) throws JobNotFoundException
PepperJob
corresponding to the passed identifier, if
a job exists.id
- identifier of a PepperJob
JobNotFoundException
Collection<PepperModuleDesc> getRegisteredImporters()
PepperModuleDesc
corresponding to a registered
importer. When no importer is registered returns an empty collection, not
null.Collection<PepperModuleDesc> getRegisteredModules()
PepperModuleDesc
corresponding to
Pepper modules, which are registered in this Pepper
instance.
PepperModuleDesc
objects
corresponding to Pepper modulesString getRegisteredModulesAsString()
getRegisteredModules()
.@Deprecated Collection<String> selfTest()
Collection<ModuleFitness> checkFitness()
PepperImporterImpl.isImportable(URI)
method. Copyright © 2009–2019 Humboldt-Universität zu Berlin, INRIA. All rights reserved.