Package io.quarkus.registry.config
Class ConfigSource.FileConfigSource
- java.lang.Object
-
- io.quarkus.registry.config.ConfigSource.FileConfigSource
-
- All Implemented Interfaces:
ConfigSource
- Enclosing interface:
- ConfigSource
public static class ConfigSource.FileConfigSource extends Object implements ConfigSource
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.quarkus.registry.config.ConfigSource
ConfigSource.FileConfigSource
-
-
Field Summary
-
Fields inherited from interface io.quarkus.registry.config.ConfigSource
DEFAULT, ENV, MANUAL
-
-
Constructor Summary
Constructors Constructor Description FileConfigSource(Path configFile)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringdescribe()Describe the source of this registry configuration for use with info and error messages.PathgetFilePath()
-
-
-
Constructor Detail
-
FileConfigSource
public FileConfigSource(Path configFile)
-
-
Method Detail
-
getFilePath
public Path getFilePath()
- Specified by:
getFilePathin interfaceConfigSource- Returns:
- Path to source file, or null if config is not file-based.
-
describe
public String describe()
Description copied from interface:ConfigSourceDescribe the source of this registry configuration for use with info and error messages.- Specified by:
describein interfaceConfigSource- Returns:
- String describing configuration source
-
-