Package com.tagtraum.core
Interface Operation
-
- All Known Implementing Classes:
AudioAnalyzer
public interface Operation
Operation.- Author:
- Hendrik Schreiber
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
canBeCancelled()
Indicates whether this operation can be cancelled.void
cancel()
Cancels the operation asynchronously.String
getName()
boolean
isCancelled()
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
-
-