クラス BatchTask
java.lang.Object
org.thinkit.bot.twitter.batch.policy.BatchTask
- すべての実装されたインタフェース:
Serializable
public final class BatchTask extends Object implements Serializable
The class that manages task.
- 導入されたバージョン:
- 1.0.0
- 関連項目:
- 直列化された形式
-
コンストラクタの概要
コンストラクタ コンストラクタ 説明 BatchTask()
-
メソッドの概要
修飾子とタイプ メソッド 説明 int
getTypeCode()
Returns the task type code.boolean
isClosable()
Checks if the task is closable.boolean
isStartSession()
Checks if the task isTaskType.START_SESSION
.
-
コンストラクタの詳細
-
BatchTask
public BatchTask()
-
-
メソッドの詳細
-
getTypeCode
public int getTypeCode()Returns the task type code.- 戻り値:
- The task type code
-
isStartSession
public boolean isStartSession()Checks if the task isTaskType.START_SESSION
.- 戻り値:
true
if the task isTaskType.START_SESSION
, otherwisefalse
-
isClosable
public boolean isClosable()Checks if the task is closable.- 戻り値:
true
if the task is closable, otherwisefalse
-