Package com.tagtraum.core
Interface Operation
-
- All Known Implementing Classes:
AudioAnalyzer
public interface OperationOperation.- Author:
- Hendrik Schreiber
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancanBeCancelled()Indicates whether this operation can be cancelled.voidcancel()Cancels the operation asynchronously.StringgetName()booleanisCancelled()Indicates whether this operation has been cancelled.
-
-
-
Method Detail
-
getName
String getName()
- Returns:
- operation name
-
cancel
void cancel()
Cancels the operation asynchronously.
-
canBeCancelled
boolean canBeCancelled()
Indicates whether this operation can be cancelled.- Returns:
- true or false
-
isCancelled
boolean isCancelled()
Indicates whether this operation has been cancelled.- Returns:
- true or false
-
-