Package | Description |
---|---|
org.corpus_tools.pepper.core | |
org.corpus_tools.pepper.impl | |
org.corpus_tools.pepper.modules |
Modifier and Type | Class and Description |
---|---|
class |
DocumentControllerImpl
Stores the global status of a
SDocument . |
Modifier and Type | Field and Description |
---|---|
protected Hashtable<String,ConcurrentLinkedQueue<DocumentController>> |
DocumentBus.documentBus
This table is the central management object of the
DocumentBus . |
protected List<DocumentController> |
PepperJobImpl.documentControllers
A list of all
DocumentControllerImpl objects corresponding to
each SDocument belonging to this job. |
Modifier and Type | Method and Description |
---|---|
DocumentController |
ModuleControllerImpl.next()
Returns the next
DocumentController waiting in the input document
bus to be processed by the contained PepperModule . |
DocumentController |
ModuleControllerImpl.next(boolean ignorePermissionForDocument)
Returns the next
DocumentController waiting in the input document
bus to be processed by the contained PepperModule . |
DocumentController |
TerminalDocumentBus.pop(String outputControllerId)
Returns a
DocumentController object, which is on first place of
the internal queue (regarding the FIFO principle). |
DocumentController |
DocumentBus.pop(String outputControllerId)
Returns a
DocumentController object, which is on first place of
the internal queue (regarding the FIFO principle). |
DocumentController |
TerminalDocumentBus.pop(String outputControllerId,
boolean ignorePermissionForDocument) |
DocumentController |
DocumentBus.pop(String outputControllerId,
boolean ignorePermissionForDocument)
Returns a
DocumentController object, which is on first place of
the internal queue (regarding the FIFO principle). |
Modifier and Type | Method and Description |
---|---|
Set<DocumentController> |
PepperJobImpl.getActiveDocuments()
Returns a set of all currently active documents.
|
Hashtable<String,ConcurrentLinkedQueue<DocumentController>> |
DocumentBus.getDocumentBus()
Returns the table, which is the central management object of the
DocumentBus . |
List<DocumentController> |
PepperJobImpl.getDocumentControllers()
Returns a list of all
DocumentControllerImpl objects
corresponding to each SDocument belonging to this job. |
Modifier and Type | Method and Description |
---|---|
void |
ModuleControllerImpl.complete(DocumentController documentController)
Adds the given
DocumentController to the output document bus to
be processed by the next PepperModule objects. |
void |
ModuleControllerImpl.delete(DocumentController documentController)
Notifies the Pepper framework, that the
SDocument being contained
in passed DocumentController shall not be processed any further
by following Pepper modules. |
boolean |
PepperJobImpl.getPermissionForProcessDoument(DocumentController controller)
Returns true, if a
SDocument or more precisely spoken a
SDocumentGraph could be woken up or imported. |
void |
DocumentBus.put(DocumentController documentController)
Adds the given
DocumentController object to the queue. |
void |
InitialDocumentBus.put(DocumentController documentController)
Adds the given
DocumentController object to the queue. |
void |
PepperJobImpl.releaseDocument(DocumentController controller)
Releases a document and reduces the internal counter for the number of
currently processed documents (
PepperJobImpl.getNumOfActiveDocuments() ). |
Modifier and Type | Method and Description |
---|---|
protected Map<String,DocumentController> |
PepperModuleImpl.getDocumentId2DC()
Returns the map relating
Identifier belonging to
SDocument objects to their DocumentController container. |
Modifier and Type | Method and Description |
---|---|
boolean |
PepperMapperControllerImpl.getPermissionForProcessDoument(DocumentController controller) |
Modifier and Type | Method and Description |
---|---|
DocumentController |
MappingSubject.getDocumentController()
Returns the document controller, if one was set.
|
DocumentController |
ModuleController.next()
Returns the next
DocumentController waiting in the input document
bus to be processed by the contained PepperModule . |
DocumentController |
ModuleController.next(boolean ignorePermissionForDocument)
Returns the next
DocumentController waiting in the input document
bus to be processed by the contained PepperModule . |
Modifier and Type | Method and Description |
---|---|
void |
ModuleController.complete(DocumentController documentController)
Adds the given
DocumentController to the output document bus to
be processed by the next PepperModule objects. |
void |
ModuleController.delete(DocumentController documentController)
Notifies the Pepper framework, that the
SDocument being contained
in passed DocumentController shall not be processed any further
by following Pepper modules. |
boolean |
PepperMapperController.getPermissionForProcessDoument(DocumentController controller) |
void |
MappingSubject.setDocumentController(DocumentController documentController)
If the set
Identifier belongs to a SDocument , it's
controller can be passed with this method. |
Copyright © 2009–2019 Humboldt-Universität zu Berlin, INRIA. All rights reserved.