Class SearchGUIProcessBuilder

java.lang.Object
eu.isas.searchgui.processbuilders.SearchGUIProcessBuilder
All Implemented Interfaces:
Runnable
Direct Known Subclasses:
AndromedaProcessBuilder, CometProcessBuilder, DirecTagProcessBuilder, MakeblastdbProcessBuilder, MetaMorpheusProcessBuilder, MsAmandaProcessBuilder, MsConvertProcessBuilder, MsgfProcessBuilder, MyriMatchProcessBuilder, NovorProcessBuilder, OmssaclProcessBuilder, PeptideShakerProcessBuilder, SageProcessBuilder, TandemProcessBuilder, ThermoRawFileParserProcessBuilder, TideIndexProcessBuilder, TideSearchProcessBuilder

public abstract class SearchGUIProcessBuilder extends Object implements Runnable
A simple ancestor class to reduce code duplication in formatdb, omssacl and tandem process builders.
Author:
Lennart Martens, Marc Vaudel, Harald Barsnes
  • Field Details

    • waitingHandler

      protected com.compomics.util.waiting.WaitingHandler waitingHandler
      The waiting handler to display the feedback.
    • exceptionHandler

      protected com.compomics.util.exceptions.ExceptionHandler exceptionHandler
      The exception handler to manage exception.
  • Constructor Details

    • SearchGUIProcessBuilder

      public SearchGUIProcessBuilder()
      Empty constructor.
  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable
    • startProcess

      public void startProcess() throws IOException
      Starts the process of a process builder, gets the input stream from the process and shows it in a JEditorPane supporting HTML. Does not close until the process is completed.
      Throws:
      IOException - Exception thrown whenever an error occurred while reading the progress stream
    • endProcess

      public void endProcess()
      Ends the process.
    • getType

      public abstract String getType()
      Returns the type of the process.
      Returns:
      the type of the process
    • getCurrentlyProcessedFileName

      public abstract String getCurrentlyProcessedFileName()
      Returns the file name of the currently processed file.
      Returns:
      the file name of the currently processed file