Class WelcomeContentUtils

java.lang.Object
com.bytedesk.service.utils.WelcomeContentUtils

public final class WelcomeContentUtils extends Object
Centralized builder for WelcomeContent to avoid duplication across strategies.
  • Constructor Details

    • WelcomeContentUtils

      private WelcomeContentUtils()
  • Method Details

    • resolveAgentWelcomeTip

      public static String resolveAgentWelcomeTip(AgentEntity agent)
      Resolve welcome tip for agent with fallback to default rules in caller.
    • buildAgentWelcomeContent

      public static WelcomeContent buildAgentWelcomeContent(AgentEntity agent)
    • buildAgentWelcomeContent

      public static WelcomeContent buildAgentWelcomeContent(AgentEntity agent, String tip)
    • resolveRobotWelcomeTip

      public static String resolveRobotWelcomeTip(RobotEntity robot)
      Resolve welcome tip for robot with fallback to default rules in caller.
    • buildRobotWelcomeContent

      public static WelcomeContent buildRobotWelcomeContent(RobotEntity robot)
    • buildRobotWelcomeContent

      public static WelcomeContent buildRobotWelcomeContent(RobotEntity robot, String tip)
    • resolveWorkflowWelcomeTip

      public static String resolveWorkflowWelcomeTip(WorkflowEntity workflow)
      Resolve welcome tip for workflow with fallback to description.
    • buildWorkflowWelcomeContent

      public static WelcomeContent buildWorkflowWelcomeContent(WorkflowEntity workflow)
    • buildWorkflowWelcomeContent

      public static WelcomeContent buildWorkflowWelcomeContent(WorkflowEntity workflow, String tip)