Module io.github.ascopes.jct
Class JctFileManagerWorkspaceConfigurer
java.lang.Object
io.github.ascopes.jct.filemanagers.config.JctFileManagerWorkspaceConfigurer
- All Implemented Interfaces:
JctFileManagerConfigurer
@API(since="0.0.1",
status=STABLE)
public final class JctFileManagerWorkspaceConfigurer
extends Object
implements JctFileManagerConfigurer
Configurer for a file manager that applies the given workspace.
- Since:
- 0.0.1 (0.0.1-M7)
- Author:
- Ashley Scopes
-
Constructor Summary
ConstructorsConstructorDescriptionJctFileManagerWorkspaceConfigurer(Workspace workspace) Initialise the configurer with the desired workspace. -
Method Summary
Modifier and TypeMethodDescriptionconfigure(JctFileManager fileManager) Configure the file manager implementation.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.github.ascopes.jct.filemanagers.config.JctFileManagerConfigurer
isEnabled
-
Constructor Details
-
JctFileManagerWorkspaceConfigurer
Initialise the configurer with the desired workspace.- Parameters:
workspace- the workspace to wrap.
-
-
Method Details
-
configure
Description copied from interface:JctFileManagerConfigurerConfigure the file manager implementation.- Specified by:
configurein interfaceJctFileManagerConfigurer- Parameters:
fileManager- the file manager implementation.- Returns:
- the new file manager (this may be the same as the input file manager).
-