Package eu.cloudnetservice.driver.module
Interface ModuleTaskEntry
- All Known Implementing Classes:
DefaultModuleTaskEntry
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 Summary
Modifier and TypeMethodDescriptionvoidfire()Fires this module task.Get the full method signature of the detected method.module()The module (or module main class) this task was detected in.The associated module wrapper this task was detected by.taskInfo()The annotation holding the information about this task.
-
Method Details
-
moduleWrapper
The associated module wrapper this task was detected by.- Returns:
- the associated module wrapper to this task.
- See Also:
-
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
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
Fires this module task.- Throws:
Throwable- anything thrown by the underlying method.
-