| Package | Description |
|---|---|
| de.aristaflow.adept2.core.eventmanager.fileevents | |
| de.aristaflow.adept2.model.events |
| Modifier and Type | Class and 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.
|
| Modifier and Type | Method and Description |
|---|---|
protected FileEvent |
FileEventSource.createFileEvent(java.io.File file)
Deprecated.
Use
FileEventSource.createFileEvent(Path) instead. |
protected FileEvent |
FileEventSource.createFileEvent(java.nio.file.Path path)
Creates a
FileEvent for the designated path. |
protected FileEvent |
FileEventSource.createLockFileEvent(java.io.File file,
java.io.File lockFile)
Deprecated.
Use
FileEventSource.createLockFileEvent(Path, Path) instead. |
| Modifier and Type | Method and Description |
|---|---|
protected Triple<java.lang.Boolean,java.io.File,java.lang.Boolean> |
FileMarkHandler.markFile(FileEvent eve,
boolean consumed)
Extracted from
FileMarkHandler.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,
java.util.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,
java.util.Collection<? extends Parameter> inParams,
InstanceDataContainer dataContainer,
java.io.File file,
java.io.File lockFile)
Processes the file of the designated event and sets the values of the input
parameters in the designated data container.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
LockFileEvent
This event extends
FileEvent by additional information to the corresponding lock
file. |