Class TaskInitData

java.lang.Object
com.bytedesk.core.task.TaskInitData

public class TaskInitData extends Object
  • Field Details

    • TECHNICAL_SUPPORT

      public static final String[] TECHNICAL_SUPPORT
      Technical Support Tasks 技术支持标签
    • SERVICE_REQUEST

      public static final String[] SERVICE_REQUEST
      Service Request Tasks 服务请求标签
    • CONSULTATION

      public static final String[] CONSULTATION
      Consultation Tasks 咨询标签
    • COMPLAINT_SUGGESTION

      public static final String[] COMPLAINT_SUGGESTION
      Complaint & Suggestion Tasks 投诉与建议标签
    • OPERATION_MAINTENANCE

      public static final String[] OPERATION_MAINTENANCE
      Operation & Maintenance Tasks 运维标签
  • Constructor Details

    • TaskInitData

      public TaskInitData()
  • Method Details

    • isParentTask

      public static boolean isParentTask(String task)
      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

      public static String getParentTask(String childTask)
      Helper method to get parent task key for a child task
      Parameters:
      childTask - The child task key
      Returns:
      The parent task key
    • getAllTasks

      public static String[] getAllTasks()
      Get all tasks as a single array
      Returns:
      Array containing all tasks