net.intelie.pipes.time.TaskRunner Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pipes-api Show documentation
Show all versions of pipes-api Show documentation
Intelie Pipes' API classes and interfaces
package net.intelie.pipes.time;
import java.util.List;
public interface TaskRunner {
void onTasks(long timestamp, List actions);
public static class Default implements TaskRunner {
@Override
public void onTasks(long timestamp, List actions) {
for (TaskAction action : actions) {
action.execute();
}
}
}
}