Package com.bytedesk.kbase.trigger
Class TriggerInitData
java.lang.Object
com.bytedesk.kbase.trigger.TriggerInitData
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String[]Complaint & Suggestion Triggers 投诉与建议标签static final String[]Consultation Triggers 咨询标签static final String[]Operation & Maintenance Triggers 运维标签static final String[]Service Request Triggers 服务请求标签static final String[]Technical Support Triggers 技术支持标签 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String[]Get all triggers as a single arraystatic StringgetParentTrigger(String childTrigger) Helper method to get parent trigger key for a child triggerstatic booleanisParentTrigger(String trigger) Helper method to determine if a trigger is a parent trigger
-
Field Details
-
TECHNICAL_SUPPORT
Technical Support Triggers 技术支持标签 -
SERVICE_REQUEST
Service Request Triggers 服务请求标签 -
CONSULTATION
Consultation Triggers 咨询标签 -
COMPLAINT_SUGGESTION
Complaint & Suggestion Triggers 投诉与建议标签 -
OPERATION_MAINTENANCE
Operation & Maintenance Triggers 运维标签
-
-
Constructor Details
-
TriggerInitData
public TriggerInitData()
-
-
Method Details
-
isParentTrigger
Helper method to determine if a trigger is a parent trigger- Parameters:
trigger- The trigger key to check- Returns:
- true if it's a parent trigger
-
getParentTrigger
Helper method to get parent trigger key for a child trigger- Parameters:
childTrigger- The child trigger key- Returns:
- The parent trigger key
-
getAllTriggers
Get all triggers as a single array- Returns:
- Array containing all triggers
-