Annotation Interface CustomChannel


@Retention(RUNTIME) @Target(ANNOTATION_TYPE) public @interface CustomChannel

Runtime annotation used to specify custom channels.

Since:
10.0.102
  • Element Details

    • name

      String name
      Returns:
      The unique name of the CustomChannel
      Since:
      10.0.102
    • displayName

      String displayName
      Returns:
      The displayName of the CustomChannel
      Since:
      10.0.102
      Default:
      ""
    • pngIconResourcePath

      String pngIconResourcePath
      The method may return the resource path to the optional PNG icon resource of the CustomChannel. The image resource must be a PNG icon and should have the dimension of 30 x 30 pixel. Please specify the resource path relative your MessageConnectorPlugin class or absolute to the plugin JAR file of the app. e.g. "/META-INF/resources/images/myicon.png"
      Returns:
      The resource path to the optional PNG icon resource of the CustomChannel.
      Since:
      10.0.102
      Default:
      ""
    • messageFormatNames

      String[] messageFormatNames
      Returns:
      The names of the MessageFormat's that are supported by this CustomChannel
      Since:
      10.0.102
      Default:
      {"TEXT"}