public class MsMsDetectionMethod extends Object implements MSDKMethod<List<IonAnnotation>>
| Constructor and Description |
|---|
MsMsDetectionMethod(RawDataFile rawDataFile,
List<MsScan> msScans,
MzTolerance mzTolerance,
RTTolerance rtTolerance,
Double intensityTolerance)
Constructor for MsMsDetectionMethod.
|
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
Cancel a running algorithm.
|
List<IonAnnotation> |
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<IonAnnotation> |
getResult()
Returns the result of this algorithm, or null.
|
public MsMsDetectionMethod(@Nonnull RawDataFile rawDataFile, @Nonnull List<MsScan> msScans, @Nonnull MzTolerance mzTolerance, @Nonnull RTTolerance rtTolerance, @Nonnull Double intensityTolerance)
Constructor for MsMsDetectionMethod.
rawDataFile - a RawDataFile object.msScans - a list of MsScan objects.mzTolerance - a MzTolerance object.rtTolerance - a RTTolerance object.intensityTolerance - a Double object.public List<IonAnnotation> execute() throws MSDKException
execute in interface MSDKMethod<List<IonAnnotation>>MSDKException - On any error@Nullable public Float getFinishedPercentage()
getFinishedPercentage in interface MSDKMethod<List<IonAnnotation>>@Nullable public List<IonAnnotation> getResult()
getResult in interface MSDKMethod<List<IonAnnotation>>public void cancel()
cancel in interface MSDKMethod<List<IonAnnotation>>Copyright © 2019. All rights reserved.