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