Module io.github.ascopes.jct
Class JctFileManagerJvmPlatformClassPathConfigurer
java.lang.Object
io.github.ascopes.jct.filemanagers.config.JctFileManagerJvmPlatformClassPathConfigurer
- All Implemented Interfaces:
JctFileManagerConfigurer
@API(since="0.0.1",
status=STABLE)
public final class JctFileManagerJvmPlatformClassPathConfigurer
extends Object
implements JctFileManagerConfigurer
Configurer for a file manager that applies the running JVM's platform classpath to the file
manager.
If platform classpath inheritance is disabled in the compiler, then this will not run.
- Since:
- 0.0.1 (0.0.1-M7)
- Author:
- Ashley Scopes
-
Constructor Summary
ConstructorsConstructorDescriptionJctFileManagerJvmPlatformClassPathConfigurer(JctCompiler<?, ?> compiler) Initialise the configurer with the desired compiler. -
Method Summary
Modifier and TypeMethodDescriptionconfigure(JctFileManager fileManager) Configure the file manager implementation.booleanDetermine if this configurer is enabled or not.
-
Constructor Details
-
JctFileManagerJvmPlatformClassPathConfigurer
Initialise the configurer with the desired compiler.- Parameters:
compiler- the compiler 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).
-
isEnabled
Description copied from interface:JctFileManagerConfigurerDetermine if this configurer is enabled or not.- Specified by:
isEnabledin interfaceJctFileManagerConfigurer- Returns:
trueif enabled,falseif disabled.
-