Class ProcessingParameters
java.lang.Object
com.compomics.util.parameters.tools.ProcessingParameters
public class ProcessingParameters extends Object
ProcessingPreferences.
- Author:
- Marc Vaudel
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ProcessingParameters.ProcessingType
Class indicating the type of processing. -
Constructor Summary
Constructors Constructor Description ProcessingParameters()
Constructor. -
Method Summary
Modifier and Type Method Description int
getnThreads()
Returns the number or threads to use.ProcessingParameters.ProcessingType
getProcessingType()
Returns the processing type.void
setnThreads(int nThreads)
Sets the number or threads to use.void
setProcessingType(ProcessingParameters.ProcessingType processingType)
Sets the processing type.
-
Constructor Details
-
ProcessingParameters
public ProcessingParameters()Constructor.
-
-
Method Details
-
getnThreads
public int getnThreads()Returns the number or threads to use.- Returns:
- the number or threads to use
-
setnThreads
public void setnThreads(int nThreads)Sets the number or threads to use.- Parameters:
nThreads
- the number or threads to use
-
getProcessingType
Returns the processing type.- Returns:
- the processing type
-
setProcessingType
Sets the processing type.- Parameters:
processingType
- the processing type
-