Package com.bytedesk.core.task
Class TaskInitData
java.lang.Object
com.bytedesk.core.task.TaskInitData
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String[]Complaint & Suggestion Tasks 投诉与建议标签static final String[]Consultation Tasks 咨询标签static final String[]Operation & Maintenance Tasks 运维标签static final String[]Service Request Tasks 服务请求标签static final String[]Technical Support Tasks 技术支持标签 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String[]Get all tasks as a single arraystatic StringgetParentTask(String childTask) Helper method to get parent task key for a child taskstatic booleanisParentTask(String task) Helper method to determine if a task is a parent task
-
Field Details
-
TECHNICAL_SUPPORT
Technical Support Tasks 技术支持标签 -
SERVICE_REQUEST
Service Request Tasks 服务请求标签 -
CONSULTATION
Consultation Tasks 咨询标签 -
COMPLAINT_SUGGESTION
Complaint & Suggestion Tasks 投诉与建议标签 -
OPERATION_MAINTENANCE
Operation & Maintenance Tasks 运维标签
-
-
Constructor Details
-
TaskInitData
public TaskInitData()
-
-
Method Details
-
isParentTask
Helper method to determine if a task is a parent task- Parameters:
task- The task key to check- Returns:
- true if it's a parent task
-
getParentTask
Helper method to get parent task key for a child task- Parameters:
childTask- The child task key- Returns:
- The parent task key
-
getAllTasks
Get all tasks as a single array- Returns:
- Array containing all tasks
-