public interface Processor
The purpose of processors is to unload data from the import containers and push it to the workspace, with various strategies. For instance, a processor could either create a new workspace or append data to the current workspace, managing duplicates.
ImportController
Modifier and Type | Method and Description |
---|---|
String |
getDisplayName()
Returns the processor's name.
|
Report |
getReport()
Returns the report of the processor after processing is done, with possible warnings and errors.
|
void |
process()
Process data from the container to the workspace.
|
void |
setContainers(ContainerUnloader[] containers)
Sets the data containers.
|
void |
setProgressTicket(ProgressTicket progressTicket)
Sets the progress ticket.
|
void |
setWorkspace(Workspace workspace)
Sets the destination workspace for the data in the containers.
|
void process()
Importer
void setContainers(ContainerUnloader[] containers)
containers
- the containers where data arevoid setWorkspace(Workspace workspace)
workspace
- the workspace where data are to be pushedString getDisplayName()
void setProgressTicket(ProgressTicket progressTicket)
progressTicket
- progress ticketReport getReport()
Copyright © 2007–2017 Gephi Consortium. All rights reserved.