public class TargetedDetectionMethod extends Object implements MSDKMethod<List<Chromatogram>>
| Constructor and Description |
|---|
TargetedDetectionMethod(List<IonAnnotation> ionAnnotations,
RawDataFile rawDataFile,
MzTolerance mzTolerance,
RTTolerance rtTolerance,
Double intensityTolerance,
Double noiseLevel)
Constructor for TargetedDetectionMethod.
|
| 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 TargetedDetectionMethod(@Nonnull List<IonAnnotation> ionAnnotations, @Nonnull RawDataFile rawDataFile, @Nonnull MzTolerance mzTolerance, @Nonnull RTTolerance rtTolerance, @Nonnull Double intensityTolerance, @Nonnull Double noiseLevel)
Constructor for TargetedDetectionMethod.
ionAnnotations - a List object.rawDataFile - a RawDataFile object.mzTolerance - an objectrtTolerance - a RTTolerance object.intensityTolerance - a Double object.noiseLevel - a Double 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.