public class PeakInvestigatorScanBundlingMethod extends Object implements MSDKMethod<File>
This class represents a method for bundling scans for upload to PeakInvestigator software services.
| Constructor and Description |
|---|
PeakInvestigatorScanBundlingMethod(RawDataFile rawDataFile)
Constructor for PeakInvestigatorScanBundlingMethod.
|
PeakInvestigatorScanBundlingMethod(RawDataFile rawDataFile,
File file)
Constructor for PeakInvestigatorScanBundlingMethod.
|
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
Cancel a running algorithm.
|
File |
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.
|
File |
getResult()
Returns the result of this algorithm, or null.
|
public PeakInvestigatorScanBundlingMethod(@Nonnull RawDataFile rawDataFile) throws IOException
Constructor for PeakInvestigatorScanBundlingMethod. A temporary file is created, which will be deleted on JVM exit.
rawDataFile - a RawDataFile object.IOException - if any.public PeakInvestigatorScanBundlingMethod(@Nonnull RawDataFile rawDataFile, @Nonnull File file)
Constructor for PeakInvestigatorScanBundlingMethod.
rawDataFile - a RawDataFile object.file - a File object.public Float getFinishedPercentage()
getFinishedPercentage in interface MSDKMethod<File>public File execute() throws MSDKException
execute in interface MSDKMethod<File>MSDKException - On any errorpublic File getResult()
getResult in interface MSDKMethod<File>public void cancel()
cancel in interface MSDKMethod<File>Copyright © 2019. All rights reserved.