Package org.arvados.client.config
Class FileConfigProvider
- java.lang.Object
-
- org.arvados.client.config.FileConfigProvider
-
- All Implemented Interfaces:
ConfigProvider
public class FileConfigProvider extends java.lang.Object implements ConfigProvider
-
-
Constructor Summary
Constructors Constructor Description FileConfigProvider()
FileConfigProvider(java.lang.String configFile)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getApiHost()
int
getApiPort()
java.lang.String
getApiProtocol()
java.lang.String
getApiToken()
com.typesafe.config.Config
getConfig()
int
getConnectTimeout()
java.io.File
getFileSplitDirectory()
int
getFileSplitSize()
java.lang.String
getIntegrationTestProjectUuid()
java.lang.String
getKeepWebHost()
int
getKeepWebPort()
int
getNumberOfCopies()
int
getNumberOfRetries()
int
getReadTimeout()
int
getWriteTimeout()
boolean
isApiHostInsecure()
-
-
-
Method Detail
-
getConfig
public com.typesafe.config.Config getConfig()
-
isApiHostInsecure
public boolean isApiHostInsecure()
- Specified by:
isApiHostInsecure
in interfaceConfigProvider
-
getKeepWebHost
public java.lang.String getKeepWebHost()
- Specified by:
getKeepWebHost
in interfaceConfigProvider
-
getKeepWebPort
public int getKeepWebPort()
- Specified by:
getKeepWebPort
in interfaceConfigProvider
-
getApiHost
public java.lang.String getApiHost()
- Specified by:
getApiHost
in interfaceConfigProvider
-
getApiPort
public int getApiPort()
- Specified by:
getApiPort
in interfaceConfigProvider
-
getApiToken
public java.lang.String getApiToken()
- Specified by:
getApiToken
in interfaceConfigProvider
-
getApiProtocol
public java.lang.String getApiProtocol()
- Specified by:
getApiProtocol
in interfaceConfigProvider
-
getFileSplitSize
public int getFileSplitSize()
- Specified by:
getFileSplitSize
in interfaceConfigProvider
-
getFileSplitDirectory
public java.io.File getFileSplitDirectory()
- Specified by:
getFileSplitDirectory
in interfaceConfigProvider
-
getNumberOfCopies
public int getNumberOfCopies()
- Specified by:
getNumberOfCopies
in interfaceConfigProvider
-
getNumberOfRetries
public int getNumberOfRetries()
- Specified by:
getNumberOfRetries
in interfaceConfigProvider
-
getIntegrationTestProjectUuid
public java.lang.String getIntegrationTestProjectUuid()
-
getConnectTimeout
public int getConnectTimeout()
- Specified by:
getConnectTimeout
in interfaceConfigProvider
-
getReadTimeout
public int getReadTimeout()
- Specified by:
getReadTimeout
in interfaceConfigProvider
-
getWriteTimeout
public int getWriteTimeout()
- Specified by:
getWriteTimeout
in interfaceConfigProvider
-
-