public class MSDKFilteringMethod extends Object implements MSDKMethod<RawDataFile>
MSDKFilteringMethod class.
Constructor and Description |
---|
MSDKFilteringMethod(RawDataFile rawDataFile,
MSDKFilteringAlgorithm filteringAlgorithm)
Constructor for MSDKFilteringMethod.
|
Modifier and Type | Method and Description |
---|---|
void |
cancel()
Cancel a running algorithm.
|
RawDataFile |
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.
|
RawDataFile |
getResult()
Returns the result of this algorithm, or null.
|
public MSDKFilteringMethod(@Nonnull RawDataFile rawDataFile, @Nonnull MSDKFilteringAlgorithm filteringAlgorithm)
Constructor for MSDKFilteringMethod.
rawDataFile
- a RawDataFile
object.filteringAlgorithm
- a MSDKFilteringAlgorithm
object.public Float getFinishedPercentage()
getFinishedPercentage
in interface MSDKMethod<RawDataFile>
public RawDataFile execute() throws MSDKException
execute
in interface MSDKMethod<RawDataFile>
MSDKException
- On any errorpublic RawDataFile getResult()
getResult
in interface MSDKMethod<RawDataFile>
public void cancel()
cancel
in interface MSDKMethod<RawDataFile>
Copyright © 2019. All rights reserved.