Interface Executable<Caller,Result>

Type Parameters:
Caller - The source type of this process (e.g. Event, CommandSender, etc.)
Result - The return type of this process.
All Known Implementing Classes:
DynamicFunctionReference, FunctionReference

public interface Executable<Caller,Result>
A process that can be executed, which may return its result. This is an abstraction for general triggers (runnables, tasks, functions, etc.) without any Bukkit dependency.
  • Method Summary

    Modifier and Type
    Method
    Description
    execute(Caller caller, Object... arguments)