Class AssetInitData

java.lang.Object
com.bytedesk.core.asset.AssetInitData

public class AssetInitData extends Object
  • Field Details

    • TECHNICAL_SUPPORT

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

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

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

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

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

    • AssetInitData

      public AssetInitData()
  • Method Details

    • isParentAsset

      public static boolean isParentAsset(String asset)
      Helper method to determine if a asset is a parent asset
      Parameters:
      asset - The asset key to check
      Returns:
      true if it's a parent asset
    • getParentAsset

      public static String getParentAsset(String childAsset)
      Helper method to get parent asset key for a child asset
      Parameters:
      childAsset - The child asset key
      Returns:
      The parent asset key
    • getAllAssets

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