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
A simple ancestor class to reduce code duplication in formatdb, omssacl and
tandem process builders.
- Author:
- Lennart Martens, Marc Vaudel, Harald Barsnes
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.compomics.util.exceptions.ExceptionHandlerThe exception handler to manage exception.protected com.compomics.util.waiting.WaitingHandlerThe waiting handler to display the feedback. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidEnds the process.abstract StringReturns the file name of the currently processed file.abstract StringgetType()Returns the type of the process.voidrun()voidStarts the process of a process builder, gets the input stream from the process and shows it in a JEditorPane supporting HTML.
-
Field Details
-
waitingHandler
protected com.compomics.util.waiting.WaitingHandler waitingHandlerThe waiting handler to display the feedback. -
exceptionHandler
protected com.compomics.util.exceptions.ExceptionHandler exceptionHandlerThe exception handler to manage exception.
-
-
Constructor Details
-
SearchGUIProcessBuilder
public SearchGUIProcessBuilder()Empty constructor.
-
-
Method Details
-
run
public void run() -
startProcess
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
Returns the type of the process.- Returns:
- the type of the process
-
getCurrentlyProcessedFileName
Returns the file name of the currently processed file.- Returns:
- the file name of the currently processed file
-