Class ProcessingParameters
java.lang.Object
com.compomics.util.parameters.tools.ProcessingParameters
ProcessingPreferences.
- Author:
- Marc Vaudel
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumClass indicating the type of processing. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns a boolean indicating whether Percolator features should be cached.intReturns the number or threads to use.Returns the processing type.voidsetCachePercolatorFeatures(boolean cachePercolatorFeatures) Sets a boolean indicating whether Percolator features should be cached.voidsetnThreads(int nThreads) Sets the number or threads to use.voidsetProcessingType(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
-
cachePercolatorFeatures
public boolean cachePercolatorFeatures()Returns a boolean indicating whether Percolator features should be cached.- Returns:
- A boolean indicating whether Percolator features should be cached.
-
setCachePercolatorFeatures
public void setCachePercolatorFeatures(boolean cachePercolatorFeatures) Sets a boolean indicating whether Percolator features should be cached.- Parameters:
cachePercolatorFeatures- A boolean indicating whether Percolator features should be cached.
-
getProcessingType
Returns the processing type.- Returns:
- the processing type
-
setProcessingType
Sets the processing type.- Parameters:
processingType- the processing type
-