Uses of Interface
de.aristaflow.adept2.model.events.FileEvent
-
Packages that use FileEvent Package Description de.aristaflow.adept2.core.eventmanager.fileevents de.aristaflow.adept2.model.events -
-
Uses of FileEvent in de.aristaflow.adept2.core.eventmanager.fileevents
Classes in de.aristaflow.adept2.core.eventmanager.fileevents that implement FileEvent Modifier and Type Class Description class
FileEventImpl
An event for files, that is, an event is produced and sent as soon as a file (or a directory) is created or stored in a specific folder.class
LockFileEventImpl
An event for files and their lock files, that is, an event is produced and sent as soon as a file (or a directory) is created or stored in a specific folder.Methods in de.aristaflow.adept2.core.eventmanager.fileevents that return FileEvent Modifier and Type Method Description protected FileEvent
FileEventSource. createFileEvent(Path path)
Creates aFileEvent
for the designated path.Methods in de.aristaflow.adept2.core.eventmanager.fileevents with parameters of type FileEvent Modifier and Type Method Description protected Triple<Boolean,File,Boolean>
FileMarkHandler. markFile(FileEvent eve, boolean consumed)
Extracted fromFileMarkHandler.handleEvent(Event, boolean)
so that it could be extended with the destination file, i.e. the file the source was renamed or moved to.protected boolean
FileEventSource. nextHandler(FileEvent event, boolean consumed, boolean concurrent)
protected void
InstanceStartEventHandler. processFileEvent(FileEvent event, Collection<? extends Parameter> inParams, InstanceDataContainer dataContainer)
Processes the file of the designated event and sets the values of the input parameters in the designated data container.protected void
MarkInstanceStartEventHandler. processFileEvent(FileEvent event, Collection<? extends Parameter> inParams, InstanceDataContainer dataContainer, File file, File lockFile)
Processes the file of the designated event and sets the values of the input parameters in the designated data container. -
Uses of FileEvent in de.aristaflow.adept2.model.events
Subinterfaces of FileEvent in de.aristaflow.adept2.model.events Modifier and Type Interface Description interface
LockFileEvent
This event extendsFileEvent
by additional information to the corresponding lock file.
-