Interface Plugin


  • @Deprecated
    public interface Plugin
    Deprecated.
    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      java.lang.Error execPostHook​(Context ctx)
      Deprecated.
      execPreHook executes a hook after the function called.
      java.lang.Error execPreHook​(Context ctx)
      Deprecated.
      execPreHook executes a hook before the function called.
      java.lang.Object getField​(java.lang.String fieldName)
      Deprecated.
      get return the value of the fieldName`
      Plugin init()
      Deprecated.
      init will create a new plugin, and execute hook in this calling.
      java.lang.String name()
      Deprecated.
      name return the name of this plugin.
      java.lang.Boolean needToTracing()
      Deprecated.
       
      java.util.Map<java.lang.String,​java.lang.String> tagsAddToTracing()
      Deprecated.
       
      java.lang.String version()
      Deprecated.
      version return the version of this plugin.
    • Method Detail

      • name

        java.lang.String name()
        Deprecated.
        name return the name of this plugin.
        Returns:
        Plugin name
      • version

        java.lang.String version()
        Deprecated.
        version return the version of this plugin.
        Returns:
        Plugin name
      • init

        Plugin init()
        Deprecated.
        init will create a new plugin, and execute hook in this calling. If you do not want to use a new plugin to execute hook, just return `this`.
        Returns:
        Plugin
      • execPreHook

        java.lang.Error execPreHook​(Context ctx)
        Deprecated.
        execPreHook executes a hook before the function called.
        Parameters:
        ctx - Runtime context
        Returns:
        error
      • execPostHook

        java.lang.Error execPostHook​(Context ctx)
        Deprecated.
        execPreHook executes a hook after the function called.
        Parameters:
        ctx - Runtime context
        Returns:
        error
      • getField

        java.lang.Object getField​(java.lang.String fieldName)
        Deprecated.
        get return the value of the fieldName`
        Parameters:
        fieldName - Name of member
        Returns:
        Object
      • tagsAddToTracing

        java.util.Map<java.lang.String,​java.lang.String> tagsAddToTracing()
        Deprecated.