public interface HasDatabasesInterface
| Modifier and Type | Method and Description | 
|---|---|
void | 
addDatabase(org.pentaho.di.core.database.DatabaseMeta databaseMeta)
Add a database connection to the transformation. 
 | 
void | 
addDatabase(int p,
           org.pentaho.di.core.database.DatabaseMeta ci)
Add a database connection to the transformation on a certain location. 
 | 
void | 
addOrReplaceDatabase(org.pentaho.di.core.database.DatabaseMeta databaseMeta)
Add a database connection to the transformation if that connection didn't exists yet. 
 | 
org.pentaho.di.core.database.DatabaseMeta | 
findDatabase(String name)
Searches the list of databases for a database with a certain name 
 | 
org.pentaho.di.core.database.DatabaseMeta | 
getDatabase(int i)
Retrieves a database connection information a a certain location. 
 | 
List<org.pentaho.di.core.database.DatabaseMeta> | 
getDatabases()
Get an ArrayList of defined DatabaseInfo objects. 
 | 
boolean | 
haveConnectionsChanged()
Checks whether or not the connections have changed. 
 | 
int | 
indexOfDatabase(org.pentaho.di.core.database.DatabaseMeta ci)
Find the location of database 
 | 
int | 
nrDatabases()
Count the nr of databases in the transformation. 
 | 
void | 
removeDatabase(int i)
Removes a database from the transformation on a certain location. 
 | 
void | 
setDatabases(List<org.pentaho.di.core.database.DatabaseMeta> databases)  | 
List<org.pentaho.di.core.database.DatabaseMeta> getDatabases()
void setDatabases(List<org.pentaho.di.core.database.DatabaseMeta> databases)
databases - The databases to set.void addDatabase(org.pentaho.di.core.database.DatabaseMeta databaseMeta)
databaseMeta - The database connection information.void addOrReplaceDatabase(org.pentaho.di.core.database.DatabaseMeta databaseMeta)
databaseMeta - The database connection information.void addDatabase(int p,
                 org.pentaho.di.core.database.DatabaseMeta ci)
p - The locationci - The database connection information.org.pentaho.di.core.database.DatabaseMeta getDatabase(int i)
i - The database number.void removeDatabase(int i)
i - The locationint nrDatabases()
org.pentaho.di.core.database.DatabaseMeta findDatabase(String name)
name - The name of the database connectionint indexOfDatabase(org.pentaho.di.core.database.DatabaseMeta ci)
ci - The database queriedboolean haveConnectionsChanged()