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)
@Deprecated(forRemoval=true,
since="0.6.0")
public final class JctFileManagerJvmPlatformClassPathConfigurer
extends Object
implements JctFileManagerConfigurer
Deprecated, for removal: This API element is subject to removal in a future version.
The platform class path has been mostly replaced by the use of system modules, so
should not be used. This will be removed in v1.0.0.
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
- Author:
- Ashley Scopes
-
Constructor Summary
ConstructorsConstructorDescriptionJctFileManagerJvmPlatformClassPathConfigurer(JctCompiler<?, ?> compiler) Deprecated, for removal: This API element is subject to removal in a future version.Initialise the configurer with the desired compiler. -
Method Summary
Modifier and TypeMethodDescriptionconfigure(JctFileManager fileManager) Deprecated, for removal: This API element is subject to removal in a future version.Configure the file manager implementation.booleanDeprecated, for removal: This API element is subject to removal in a future version.Determine if this configurer is enabled or not.
-
Constructor Details
-
JctFileManagerJvmPlatformClassPathConfigurer
Deprecated, for removal: This API element is subject to removal in a future version.Initialise the configurer with the desired compiler.- Parameters:
compiler- the compiler to wrap.
-
-
Method Details
-
configure
Deprecated, for removal: This API element is subject to removal in a future version.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
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:JctFileManagerConfigurerDetermine if this configurer is enabled or not.Default implementations are enabled automatically unless otherwise specified.
- Specified by:
isEnabledin interfaceJctFileManagerConfigurer- Returns:
trueif enabled,falseif disabled.
-