org.sejda.model.notification.event
Class TaskExecutionCompletedEvent
java.lang.Object
org.sejda.model.notification.event.AbstractNotificationEvent
org.sejda.model.notification.event.TaskExecutionCompletedEvent
- All Implemented Interfaces:
- Serializable, NotificationEvent
public class TaskExecutionCompletedEvent
- extends AbstractNotificationEvent
Event thrown when an execution completes without errors.
- Author:
- Andrea Vacondio
- See Also:
- Serialized Form
TaskExecutionCompletedEvent
public TaskExecutionCompletedEvent(long executionTime,
NotifiableTaskMetadata taskMetadata)
- Creates an instance specifying the execution time, the number of millis from the task to complete.
- Parameters:
executionTime - taskMetadata -
getExecutionTime
public long getExecutionTime()
- Returns:
- the number of millis from the task to complete or -1 if not specified.
toString
public String toString()
- Overrides:
toString in class AbstractNotificationEvent
Copyright © 2013 sejda. All Rights Reserved.