Class Credentials
java.lang.Object
io.openems.backend.metadata.odoo.odoo.Credentials
Holds credentials for access to Odoo and PostgresQL.
-
Constructor Summary
ConstructorsConstructorDescriptionCredentials
(Protocol protocol, String host, int port, int uid, String password, String database) -
Method Summary
Modifier and TypeMethodDescriptionstatic Credentials
fromConfig
(Config config) CreatesCredentials
from aConfig
uration.getHost()
int
getPort()
int
getUid()
getUrl()
-
Constructor Details
-
Credentials
-
-
Method Details
-
fromConfig
CreatesCredentials
from aConfig
uration.- Parameters:
config
- the configuration- Returns:
- a new
Credentials
object
-
getProtocol
-
getHost
-
getPort
public int getPort() -
getUid
public int getUid() -
getUrl
-
getPassword
-
getDatabase
-