sirius.biz.storage.vfs.VFSRoot Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sirius-biz Show documentation
Show all versions of sirius-biz Show documentation
Provides a framework for building web based business applications
/*
* Made with all the love in the world
* by scireum in Remshalden, Germany
*
* Copyright by scireum GmbH
* http://www.scireum.de - [email protected]
*/
package sirius.biz.storage.vfs;
import java.util.function.Consumer;
/**
* Represents a root withing the {@link VirtualFileSystem}.
*
* This can contribute one of more top-level files for the VFS. Implementing classes must wear a {@link
* sirius.kernel.di.std.Register} to become visible to the injector and the VFS framework.
*/
public interface VFSRoot {
/**
* Collects all top-level files provided by this root.
*
* @param parent the root directory of the VFS to be used a parent for the provided files
* @param fileCollector the consumer to collect all provided files
*/
void collectRootFolders(VirtualFile parent, Consumer fileCollector);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy