Package org.pentaho.di.repository
Class RepositoriesMeta
- java.lang.Object
-
- org.pentaho.di.repository.RepositoriesMeta
-
public class RepositoriesMeta extends Object
-
-
Constructor Summary
Constructors Constructor Description RepositoriesMeta()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addDatabase(int p, org.pentaho.di.core.database.DatabaseMeta ci)
void
addDatabase(org.pentaho.di.core.database.DatabaseMeta ci)
void
addRepository(int p, RepositoryMeta ri)
void
addRepository(RepositoryMeta ri)
void
clear()
RepositoriesMeta
clone()
RepositoryMeta
findRepository(String name)
RepositoryMeta
findRepositoryById(String id)
org.pentaho.di.core.database.DatabaseMeta
getDatabase(int i)
String
getErrorMessage()
String
getKettleUserRepositoriesFile()
org.pentaho.di.core.logging.LogChannelInterface
getLog()
RepositoryMeta
getRepository(int i)
String
getXML()
int
indexOfDatabase(org.pentaho.di.core.database.DatabaseMeta di)
int
indexOfRepository(RepositoryMeta ri)
int
nrDatabases()
int
nrRepositories()
protected void
parseRepositoriesDoc(Document doc)
boolean
readData()
void
readDataFromInputStream(InputStream is)
void
removeDatabase(int i)
void
removeRepository(int i)
org.pentaho.di.core.database.DatabaseMeta
searchDatabase(String name)
RepositoryMeta
searchRepository(String name)
String
toString()
void
writeData()
-
-
-
Method Detail
-
clear
public void clear()
-
addDatabase
public void addDatabase(org.pentaho.di.core.database.DatabaseMeta ci)
-
addRepository
public void addRepository(RepositoryMeta ri)
-
addDatabase
public void addDatabase(int p, org.pentaho.di.core.database.DatabaseMeta ci)
-
addRepository
public void addRepository(int p, RepositoryMeta ri)
-
getDatabase
public org.pentaho.di.core.database.DatabaseMeta getDatabase(int i)
-
getRepository
public RepositoryMeta getRepository(int i)
-
removeDatabase
public void removeDatabase(int i)
-
removeRepository
public void removeRepository(int i)
-
nrDatabases
public int nrDatabases()
-
nrRepositories
public int nrRepositories()
-
searchDatabase
public org.pentaho.di.core.database.DatabaseMeta searchDatabase(String name)
-
searchRepository
public RepositoryMeta searchRepository(String name)
-
indexOfDatabase
public int indexOfDatabase(org.pentaho.di.core.database.DatabaseMeta di)
-
indexOfRepository
public int indexOfRepository(RepositoryMeta ri)
-
findRepository
public RepositoryMeta findRepository(String name)
-
findRepositoryById
public RepositoryMeta findRepositoryById(String id)
-
readData
public boolean readData() throws org.pentaho.di.core.exception.KettleException
- Throws:
org.pentaho.di.core.exception.KettleException
-
getKettleUserRepositoriesFile
public String getKettleUserRepositoriesFile()
-
readDataFromInputStream
public void readDataFromInputStream(InputStream is) throws org.pentaho.di.core.exception.KettleException
- Throws:
org.pentaho.di.core.exception.KettleException
-
parseRepositoriesDoc
protected void parseRepositoriesDoc(Document doc) throws Exception
- Throws:
Exception
-
getXML
public String getXML()
-
writeData
public void writeData() throws org.pentaho.di.core.exception.KettleException
- Throws:
org.pentaho.di.core.exception.KettleException
-
clone
public RepositoriesMeta clone()
-
getErrorMessage
public String getErrorMessage()
-
getLog
public org.pentaho.di.core.logging.LogChannelInterface getLog()
-
-