org.pentaho.di.repository
Class BaseRepositoryMeta
java.lang.Object
org.pentaho.di.repository.BaseRepositoryMeta
- Direct Known Subclasses:
- KettleDatabaseRepositoryMeta, KettleFileRepositoryMeta
public class BaseRepositoryMeta
- extends Object
BaseRepositoryMeta
public BaseRepositoryMeta(String id)
BaseRepositoryMeta
public BaseRepositoryMeta(String id,
String name,
String description)
- Parameters:
id
- name
- description
-
getDialogClassName
public String getDialogClassName()
- This returns the expected name for the dialog that edits this repository metadata object
The expected name is in the org.pentaho.di.ui tree and has a class name
that is the name of the job entry with 'Dialog' added to the end.
e.g. if the repository meta class is org.pentaho.di.repository.kdr.KettleDatabaseRepositoryMeta
the dialog would be org.pentaho.di.ui.repository.kdr.KettleDatabaseRepositoryDialog
If the dialog class does not match this pattern, the RepositoryMeta class should
override this method and return the appropriate class name
- Returns:
- full class name of the dialog
getRevisionBrowserDialogClassName
public String getRevisionBrowserDialogClassName()
- This returns the expected name for the dialog that edits this repository metadata object
The expected name is in the org.pentaho.di.ui tree and has a class name
that is the name of the job entry with 'Dialog' added to the end.
e.g. if the repository meta class is org.pentaho.di.pur.PurRepositoryMeta
the dialog would be org.pentaho.di.ui.repository.pur.PurRepositoryRevisionBrowserDialog
If the dialog class does not match this pattern, the RepositoryMeta class should
override this method and return the appropriate class name
- Returns:
- full class name of the dialog
loadXML
public void loadXML(Node repnode,
List<DatabaseMeta> databases)
throws KettleException
- Throws:
KettleException
getXML
public String getXML()
getId
public String getId()
setId
public void setId(String id)
getName
public String getName()
setName
public void setName(String name)
getDescription
public String getDescription()
setDescription
public void setDescription(String description)