Class FileBasedConfig
- java.lang.Object
-
- cc.carm.plugin.minesql.api.conf.SQLDriverConfig
-
- cc.carm.plugin.minesql.api.conf.impl.FileBasedConfig
-
public class FileBasedConfig extends SQLDriverConfig
-
-
Field Summary
Fields Modifier and Type Field Description protected @NotNull java.lang.String
filePath
-
Fields inherited from class cc.carm.plugin.minesql.api.conf.SQLDriverConfig
type
-
-
Constructor Summary
Constructors Constructor Description FileBasedConfig(@NotNull SQLDriverType type, @NotNull java.lang.String filePath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SQLSourceConfig
createSource()
@NotNull java.lang.String
getFilePath()
@NotNull java.util.Map<java.lang.String,java.lang.Object>
serialize()
-
Methods inherited from class cc.carm.plugin.minesql.api.conf.SQLDriverConfig
getType
-
-
-
-
Constructor Detail
-
FileBasedConfig
public FileBasedConfig(@NotNull @NotNull SQLDriverType type, @NotNull @NotNull java.lang.String filePath)
-
-
Method Detail
-
getFilePath
@NotNull public @NotNull java.lang.String getFilePath()
-
createSource
public SQLSourceConfig createSource()
- Specified by:
createSource
in classSQLDriverConfig
-
serialize
@NotNull public @NotNull java.util.Map<java.lang.String,java.lang.Object> serialize()
- Specified by:
serialize
in classSQLDriverConfig
-
-