java.lang.Object
org.sejda.model.task.NotifiableTaskMetadata
- All Implemented Interfaces:
Serializable
An set of metadata related to the task the event is notifying about.
- Author:
- Andrea Vacondio
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addSkippedOutput
(File skipped) void
addTaskOutput
(File output) void
boolean
int
hashCode()
void
setCurrentSource
(TaskSource<?> source) toString()
-
Field Details
-
NULL
Null object pattern
-
-
Constructor Details
-
NotifiableTaskMetadata
-
-
Method Details
-
getTaskIdentifier
- Returns:
- the identifier of the task the event is notifying about.
-
getQualifiedName
- Returns:
- the qualified name of the task the event is notifying about.
-
addTaskOutput
-
addSkippedOutput
-
setCurrentSource
-
clearCurrentSource
public void clearCurrentSource() -
getCurrentSource
-
taskOutput
- Returns:
- the list of files generated by the task. This is empty if the task is set to write to an output stream
-
skippedOutput
- Returns:
- the list of output files that where skipped because already existing (depending on the
ExistingOutputPolicy
)
-
hashCode
public int hashCode() -
equals
-
toString
-