Interface ScriptFileWatcher
- All Known Implementing Classes:
AbstractScriptFileWatcher
@NonNullByDefault
public interface ScriptFileWatcher
The
ScriptFileWatcher
interface needs to be implemented by script file watchers. Services that implement this
interface can be tracked to set a ReadyMarker
once all services have completed their initial loading.- Author:
- Jan N. Klug - Initial contribution
-
Method Summary
Modifier and TypeMethodDescriptionCompletableFuture<@Nullable Void>
Returns aCompletableFuture<Void>
that completes when theScriptFileWatcher
has completed it's initial loading of files.
-
Method Details
-
ifInitialized
CompletableFuture<@Nullable Void> ifInitialized()Returns aCompletableFuture<Void>
that completes when theScriptFileWatcher
has completed it's initial loading of files.- Returns:
- the
CompletableFuture
-