18 lines
619 B
Java
18 lines
619 B
Java
package com.molnarandrei.sopa.events;
|
|
|
|
import javafx.event.Event;
|
|
import javafx.event.EventType;
|
|
|
|
import java.nio.file.Path;
|
|
import java.util.List;
|
|
|
|
/** Payload: the step paths queued in the job, in execution order. */
|
|
public class SoapJobEvent extends SopaEvent<List<Path>> {
|
|
public static final EventType<SoapJobEvent> STARTED = new EventType<>(Event.ANY, "SOAP_JOB_STARTED");
|
|
public static final EventType<SoapJobEvent> FINISHED = new EventType<>(Event.ANY, "SOAP_JOB_FINISHED");
|
|
|
|
public SoapJobEvent(EventType<? extends Event> eventType, List<Path> payload) {
|
|
super(eventType, payload);
|
|
}
|
|
}
|