public interface ScanTask
extends java.io.Serializable
Modifier and Type | Method and Description |
---|---|
default CombinedScanTask |
asCombinedScanTask()
Returns this cast to
CombinedScanTask if it is one |
default DataTask |
asDataTask()
Returns this cast to
DataTask if it is one |
default FileScanTask |
asFileScanTask()
Returns this cast to
FileScanTask if it is one |
default boolean |
isDataTask()
Returns true if this is a
DataTask , false otherwise. |
default boolean |
isFileScanTask()
Returns true if this is a
FileScanTask , false otherwise. |
default boolean isFileScanTask()
FileScanTask
, false otherwise.default FileScanTask asFileScanTask()
FileScanTask
if it is oneFileScanTask
if it is onejava.lang.IllegalStateException
- if this is not a FileScanTask
default boolean isDataTask()
DataTask
, false otherwise.default CombinedScanTask asCombinedScanTask()
CombinedScanTask
if it is oneCombinedScanTask
if it is onejava.lang.IllegalStateException
- if this is not a CombinedScanTask