Hello, I'm using vraptor-tasks and vraptor 4 to schedule some tasks with manual scheduling.
schedule.schedule(MyTask.class, trigger, "report");
Is there a way to pass a parameter to the MyTask class? Or even get the JobExecutionContext reference. I tried various forms and all without success.
This is the implementation of the Task class:
public class MyTask implements Task{
@Override
public void execute() {
}
}
Thank you in advance.