Package uk.ac.manchester.spinnaker.alloc
Class SpallocProperties.DataSourceProperties
java.lang.Object
uk.ac.manchester.spinnaker.alloc.SpallocProperties.DataSourceProperties
- Enclosing class:
- SpallocProperties
The properties of a
DataSource
, describing how to make a database
connection.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DataSourceProperties
@ConstructorBinding public DataSourceProperties(@DefaultValue("jdbc:sqlite:/fix.me") String jdbcUrl, @DefaultValue("sa") String username, @DefaultValue("*") String password) - Parameters:
jdbcUrl
- URL for creating a connection.username
- User name for the connection.password
- Password for the connection.
-
-
Method Details
-
getJdbcUrl
- Returns:
- URL for creating a connection.
-
getUsername
- Returns:
- User name for the connection.
-
getPassword
- Returns:
- Password for the connection.
-