Annotation Type 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(..) {..}
     
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String description  
      java.lang.String label  
    • Element Detail

      • type

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

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

        java.lang.String label
        Returns:
        label of the method as it will be visible in ison
        Default:
        ""