Class NovorProcessBuilder
java.lang.Object
eu.isas.searchgui.processbuilders.SearchGUIProcessBuilder
eu.isas.searchgui.processbuilders.NovorProcessBuilder
- All Implemented Interfaces:
Runnable
This class will set up and start a process to run Novor.
- Author:
- Harald Barsnes, Marc Vaudel
-
Field Summary
FieldsFields inherited from class eu.isas.searchgui.processbuilders.SearchGUIProcessBuilder
exceptionHandler, waitingHandler -
Constructor Summary
ConstructorsConstructorDescriptionNovorProcessBuilder(File novorFolder, File novorTempFolder, File mgfFile, File outputFile, com.compomics.util.parameters.identification.search.SearchParameters searchParameters, boolean isCommandLine, com.compomics.util.waiting.WaitingHandler waitingHandler, com.compomics.util.exceptions.ExceptionHandler exceptionHandler) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the file name of the currently processed file.getType()Returns the type of the process.Methods inherited from class eu.isas.searchgui.processbuilders.SearchGUIProcessBuilder
endProcess, run, startProcess
-
Field Details
-
EXECUTABLE_FILE_NAME
The name of the Novor executable.- See Also:
-
-
Constructor Details
-
NovorProcessBuilder
public NovorProcessBuilder(File novorFolder, File novorTempFolder, File mgfFile, File outputFile, com.compomics.util.parameters.identification.search.SearchParameters searchParameters, boolean isCommandLine, com.compomics.util.waiting.WaitingHandler waitingHandler, com.compomics.util.exceptions.ExceptionHandler exceptionHandler) throws IOException, ClassNotFoundException Constructor.- Parameters:
novorFolder- the path to the Novor executablenovorTempFolder- the folder for Novor temp filesmgfFile- the spectrum MGF fileoutputFile- the output filesearchParameters- the search parametersisCommandLine- true if run from the command line, false if GUIwaitingHandler- the waiting handlerexceptionHandler- the exception handler- Throws:
IOException- exception thrown whenever an error occurred while getting the Java homeClassNotFoundException- exception thrown whenever an error occurred while getting the SearchGUI path
-
-
Method Details
-
getCurrentlyProcessedFileName
Description copied from class:SearchGUIProcessBuilderReturns the file name of the currently processed file.- Specified by:
getCurrentlyProcessedFileNamein classSearchGUIProcessBuilder- Returns:
- the file name of the currently processed file
-
getType
Description copied from class:SearchGUIProcessBuilderReturns the type of the process.- Specified by:
getTypein classSearchGUIProcessBuilder- Returns:
- the type of the process
-