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()
void
setClassName
(String className) void
setComment
(String comment) void
setModuleId
(int moduleId) void
setModuleName
(String moduleName) void
void
setPlugin
(boolean plugin) void
setPriority
(int priority) void
setTaskStatus
(TaskStatus taskStatus) void
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
public void setPlugin(boolean plugin) -
getModuleId
public int getModuleId() -
setModuleId
public void setModuleId(int moduleId) -
getModuleName
-
setModuleName
-
getPriority
public int getPriority() -
setPriority
public void setPriority(int priority) -
getParams
-
setParams
-
getTaskStatus
-
setTaskStatus
-
getComment
-
setComment
-
toJson
public org.json.JSONObject toJson() -
fromJson
-
toJSONArray
-
fromJSONArray
-