Interface ModuleTaskEntry


public interface ModuleTaskEntry
This ModuleTaskEntry is dynamically generated in the runtime. The entry represents one method in the main class of a module that is annotated with the module task annotation. This entry contains all necessary information for invocation of the corresponding method.
Since:
4.0
See Also:
  • Method Details

    • moduleWrapper

      The associated module wrapper this task was detected by.
      Returns:
      the associated module wrapper to this task.
    • module

      The module (or module main class) this task was detected in.
      Returns:
      the associated module to this task.
    • taskInfo

      The annotation holding the information about this task.
      Returns:
      the task information.
    • fullMethodSignature

      @NonNull @NonNull String fullMethodSignature()
      Get the full method signature of the detected method. This must not be in the standard java signature declaration format. However, this descriptor must be unique for debug reasons.
      Returns:
      a unique descriptor of the method in the main module class.
    • fire

      void fire() throws Throwable
      Fires this module task.
      Throws:
      Throwable - anything thrown by the underlying method.