Package org.pentaho.di.repository
Class RepositoriesMeta
java.lang.Object
org.pentaho.di.repository.RepositoriesMeta
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDatabase(int p, org.pentaho.di.core.database.DatabaseMeta ci) voidaddDatabase(org.pentaho.di.core.database.DatabaseMeta ci) voidaddRepository(int p, RepositoryMeta ri) voidvoidclear()clone()findRepository(String name) org.pentaho.di.core.database.DatabaseMetagetDatabase(int i) org.pentaho.di.core.logging.LogChannelInterfacegetLog()getRepository(int i) getXML()intindexOfDatabase(org.pentaho.di.core.database.DatabaseMeta di) intintintprotected voidbooleanreadData()voidvoidremoveDatabase(int i) voidremoveRepository(int i) org.pentaho.di.core.database.DatabaseMetasearchDatabase(String name) searchRepository(String name) toString()void
-
Constructor Details
-
RepositoriesMeta
public RepositoriesMeta()
-
-
Method Details
-
clear
public void clear() -
addDatabase
public void addDatabase(org.pentaho.di.core.database.DatabaseMeta ci) -
addRepository
-
addDatabase
public void addDatabase(int p, org.pentaho.di.core.database.DatabaseMeta ci) -
addRepository
-
getDatabase
public org.pentaho.di.core.database.DatabaseMeta getDatabase(int i) -
getRepository
-
removeDatabase
public void removeDatabase(int i) -
removeRepository
public void removeRepository(int i) -
nrDatabases
public int nrDatabases() -
nrRepositories
public int nrRepositories() -
searchDatabase
-
searchRepository
-
indexOfDatabase
public int indexOfDatabase(org.pentaho.di.core.database.DatabaseMeta di) -
indexOfRepository
-
findRepository
-
findRepositoryById
-
readData
public boolean readData() throws org.pentaho.di.core.exception.KettleException- Throws:
org.pentaho.di.core.exception.KettleException
-
getKettleUserRepositoriesFile
-
readDataFromInputStream
public void readDataFromInputStream(InputStream is) throws org.pentaho.di.core.exception.KettleException - Throws:
org.pentaho.di.core.exception.KettleException
-
parseRepositoriesDoc
- Throws:
Exception
-
getXML
-
writeData
public void writeData() throws org.pentaho.di.core.exception.KettleException- Throws:
org.pentaho.di.core.exception.KettleException
-
toString
-
clone
-
getErrorMessage
-
getLog
public org.pentaho.di.core.logging.LogChannelInterface getLog()
-