S
- タスクの状態の型E
- タスクのエラー原因の型public interface TaskResult<S extends Enum<?>,E extends Enum<?>>
Modifier and Type | Method and Description |
---|---|
E |
getErrorCause()
タスクのエラー原因です。
タスクが成功した場合は
null です。 |
S |
getState()
タスクの状態です。
|
boolean |
isSuccess()
タスクが成功したかどうかです。
|
Copyright © 2023. All rights reserved.