Class StorageConfig.RemoteConnection

java.lang.Object
eu.okaeri.configs.OkaeriConfig
xyz.srnyx.annoyingapi.file.okaeri.SubConfig<StorageConfig>
xyz.srnyx.annoyingapi.storage.StorageConfig.RemoteConnection
Enclosing class:
StorageConfig

public static class StorageConfig.RemoteConnection extends SubConfig<StorageConfig>
The remote connection details/properties
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     
     
     
    Additional custom properties for the remote connection
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull String
     
    @Nullable Integer
     
    @NotNull String
     

    Methods inherited from class xyz.srnyx.annoyingapi.file.okaeri.SubConfig

    getRoot, save

    Methods inherited from class eu.okaeri.configs.OkaeriConfig

    asMap, asMap, asMap, configure, get, get, get, getBindFile, getBindFileName, getConfigurer, getContext, getDeclaration, getEffectiveConfigurer, getInternalPath, getInternalState, isSubconfig, load, load, load, load, load, load, load, load, load, migrate, migrate, migrateInternalState, migrateInternalState, save, save, save, saveDefaults, saveToBytes, saveToString, set, setBindFile, setConfigurer, setContext, setDeclaration, setInternalPath, setInternalState, update, updateDeclaration, validate, withBindFile, withBindFile, withBindFile, withConfigurer, withConfigurer, withLogger, withRemoveOrphans, withSerdesPack

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • host

      public String host
    • database

      public String database
    • username

      public String username
    • password

      public String password
    • properties

      public Map<String,String> properties
      Additional custom properties for the remote connection
  • Constructor Details

    • RemoteConnection

      public RemoteConnection(@NotNull @NotNull StorageConfig root)
  • Method Details

    • getPort

      @Nullable public @Nullable Integer getPort()
    • getTablePrefix

      @NotNull public @NotNull String getTablePrefix()
    • getDefaultTablePrefix

      @NotNull public @NotNull String getDefaultTablePrefix()