org.pentaho.di.repository
Class BaseRepositoryMeta

java.lang.Object
  extended by org.pentaho.di.repository.BaseRepositoryMeta
Direct Known Subclasses:
KettleDatabaseRepositoryMeta, KettleFileRepositoryMeta

public class BaseRepositoryMeta
extends Object


Constructor Summary
BaseRepositoryMeta(String id)
           
BaseRepositoryMeta(String id, String name, String description)
           
 
Method Summary
 String getDescription()
           
 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.
 String getId()
           
 String getName()
           
 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.
 String getXML()
           
 void loadXML(Node repnode, List<DatabaseMeta> databases)
           
 void setDescription(String description)
           
 void setId(String id)
           
 void setName(String name)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseRepositoryMeta

public BaseRepositoryMeta(String id)

BaseRepositoryMeta

public BaseRepositoryMeta(String id,
                          String name,
                          String description)
Parameters:
id -
name -
description -
Method Detail

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)