Class JctFileManagerLoggingProxyConfigurer
java.lang.Object
io.github.ascopes.jct.filemanagers.config.JctFileManagerLoggingProxyConfigurer
- All Implemented Interfaces:
JctFileManagerConfigurer
public final class JctFileManagerLoggingProxyConfigurer
extends Object
implements JctFileManagerConfigurer
File manager configurer that optionally wraps the file manager in a logging proxy that outputs
interaction details to the console logs.
- Since:
- 0.0.1
- Author:
- Ashley Scopes
-
Constructor Summary
ConstructorsConstructorDescriptionInitialise this configurer. -
Method Summary
Modifier and TypeMethodDescriptionconfigure(JctFileManager fileManager) Configure the file manager implementation.booleanDetermine if this configurer is enabled or not.
-
Constructor Details
-
JctFileManagerLoggingProxyConfigurer
Initialise this configurer.- Parameters:
compiler- the compiler to apply to the file manager.
-
-
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.Default implementations are enabled automatically unless otherwise specified.
- Specified by:
isEnabledin interfaceJctFileManagerConfigurer- Returns:
trueif enabled,falseif disabled.
-