Class DependentTask
java.lang.Object
ru.bitel.bgbilling.kernel.task.common.bean.DependentTask
- All Implemented Interfaces:
Serializable
Зависимая задача, которая добавляется в очередь к "основной" задаче
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic DependentTask
fromJson
(org.json.JSONObject json) static List<DependentTask>
fromJSONArray
(org.json.JSONArray array) int
int
getTitle()
boolean
isPlugin()
setClassName
(String className) setComment
(String comment) setModuleId
(int moduleId) setModuleName
(String moduleName) setPlugin
(boolean plugin) setPriority
(int priority) setTaskStatus
(TaskStatus taskStatus) org.json.JSONObject
toJson()
static org.json.JSONArray
toJSONArray
(List<DependentTask> taskList)
-
Field Details
-
CLASS_NAME
- See Also:
-
IS_PLUGIN
- See Also:
-
MODULE_ID
- See Also:
-
MODULE_NAME
- See Also:
-
PARAMS
- See Also:
-
PRIORITY
- See Also:
-
STATUS
- See Also:
-
COMMENT
- See Also:
-
-
Constructor Details
-
DependentTask
public DependentTask()
-
-
Method Details
-
getTitle
-
setTitle
-
getClassName
-
setClassName
-
isPlugin
public boolean isPlugin() -
setPlugin
-
getModuleId
public int getModuleId() -
setModuleId
-
getModuleName
-
setModuleName
-
getPriority
public int getPriority() -
setPriority
-
getParams
-
setParams
-
getTaskStatus
-
setTaskStatus
-
getComment
-
setComment
-
toJson
public org.json.JSONObject toJson() -
fromJson
-
toJSONArray
-
fromJSONArray
-