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 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

      public JctFileManager configure(JctFileManager fileManager)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: JctFileManagerConfigurer
      Configure the file manager implementation.
      Specified by:
      configure in interface JctFileManagerConfigurer
      Parameters:
      fileManager - the file manager implementation.
      Returns:
      the new file manager (this may be the same as the input file manager).
    • isEnabled

      public boolean isEnabled()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: JctFileManagerConfigurer
      Determine if this configurer is enabled or not.

      Default implementations are enabled automatically unless otherwise specified.

      Specified by:
      isEnabled in interface JctFileManagerConfigurer
      Returns:
      true if enabled, false if disabled.