Annotation Interface PubServerMethod


@Target(METHOD) @Retention(RUNTIME) public @interface PubServerMethod
Declares a Publishing Server method.

Methods annotated as PubServerMethod will be visible in ison for project configuration.

An example:

 @PubServerMethod(
   type = PluginMethod.MethodType.DATA_MAPPING,
   label="The first entry of a text list as string",
   description = "Map the first entry of a text list to a string")
 public List firstTextToString(..) {..}
 
  • Element Details

    • type

      Returns:
      type of the methods as a value from MethodType enum, e.g. DATA_MAPPING
    • description

      String description
      Returns:
      description of the method as it will be visible in ison
      Default:
      ""
    • label

      String label
      Returns:
      label of the method as it will be visible in ison
      Default:
      ""
    • inputParameters

      InputOutputParams[] inputParameters
      Returns:
      required input parameter list in method
      Default:
      {}
    • outputParameters

      InputOutputParams[] outputParameters
      Returns:
      output parameter list returned from method
      Default:
      {}