Klasse DUUISimpleProcessHandler

java.lang.Object
java.lang.Thread
org.texttechnologylab.duui.analysis.process.DUUISimpleProcessHandler
Alle implementierten Schnittstellen:
Runnable, IDUUIProcessHandler

public class DUUISimpleProcessHandler extends Thread implements IDUUIProcessHandler
The default ProcessHandler implementing the IDUUIProcessHandler interface. A process runs immediately after creating an instance of this class.
Autor:
Cedric Borkowski
  • Konstruktordetails

    • DUUISimpleProcessHandler

      public DUUISimpleProcessHandler(org.bson.Document process, org.bson.Document pipeline, org.bson.Document settings) throws URISyntaxException, IOException
      Run a process using the specified settings and pipeline. The pipeline is instantiated specifically for this process.
      Parameter:
      process - A Document containing process relevant information.
      pipeline - A Document containing information about the pipeline to be executed by the process.
      settings - A Document containing process specific settings that alter its behavior.
      Löst aus:
      URISyntaxException - Thrown when the minimal TypeSystem can not be loaded.
      IOException - Thrown when the Lua Json Library can not be loaded.
    • DUUISimpleProcessHandler

      public DUUISimpleProcessHandler(org.bson.Document pipeline, org.bson.Document process, org.bson.Document settings, Vector<org.texttechnologylab.DockerUnifiedUIMAInterface.DUUIComposer.PipelinePart> instantiatedPipeline) throws URISyntaxException, IOException
      Run a process using the specified settings and pipeline. The pipeline is not instantiated but an instantiated pipeline must be passed in the constructor.
      Parameter:
      pipeline - A Document containing information about the pipeline to be executed by the process.
      process - A Document containing process relevant information.
      settings - A Document containing process specific settings that alter its behavior.
      instantiatedPipeline - A Vector holding the instantiated pipeline.
      Löst aus:
      URISyntaxException - Thrown when the minimal TypeSystem can not be loaded.
      IOException - Thrown when the Lua Json Library can not be loaded.
  • Methodendetails