public class SrmDetectionMethod extends Object implements MSDKMethod<List<Chromatogram>>
Constructor and Description |
---|
SrmDetectionMethod(RawDataFile rawDataFile)
Constructor for SrmDetectionMethod.
|
Modifier and Type | Method and Description |
---|---|
void |
cancel()
Cancel a running algorithm.
|
List<Chromatogram> |
execute()
Performs the algorithm.
|
Float |
getFinishedPercentage()
Returns a number in the interval 0 to 1.0, representing the portion of the task that has
completed, or null if the algorithm has not yet started.
|
List<Chromatogram> |
getResult()
Returns the result of this algorithm, or null.
|
public SrmDetectionMethod(@Nonnull RawDataFile rawDataFile)
Constructor for SrmDetectionMethod.
rawDataFile
- a RawDataFile
object.public List<Chromatogram> execute() throws MSDKException
execute
in interface MSDKMethod<List<Chromatogram>>
MSDKException
- On any error@Nullable public Float getFinishedPercentage()
getFinishedPercentage
in interface MSDKMethod<List<Chromatogram>>
@Nullable public List<Chromatogram> getResult()
getResult
in interface MSDKMethod<List<Chromatogram>>
public void cancel()
cancel
in interface MSDKMethod<List<Chromatogram>>
Copyright © 2019. All rights reserved.