com.legyver.fenxlib.widgets.filetree.task.FileSystemWatchTask Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fenxlib.widgets.filetree Show documentation
Show all versions of fenxlib.widgets.filetree Show documentation
FileTree widget for Fenxlib projects
package com.legyver.fenxlib.widgets.filetree.task;
import com.legyver.fenxlib.extensions.tuktukfx.task.AbstractCorrelatingObservableTask;
import com.legyver.tuktukfx.processor.TaskProcessor;
/**
* FileSystem watch task. The actual work is done in the {@link FileSystemWatchTaskProcessor}
*/
public class FileSystemWatchTask extends AbstractCorrelatingObservableTask {
/**
* Pass in the main task context here. This is exists mainly as a way to pass arguments to your task processor.
* However, it also serves to communicate the domain/range size to any observers for status reporting.
*
* @param timingData : context for the task
*/
public FileSystemWatchTask(FileSystemWatchTaskContext timingData) {
super(timingData);
}
@Override
public TaskProcessor getTaskProcessor() {
return new FileSystemWatchTaskProcessor(context);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy