Class BaseRepositoryMeta

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

public class BaseRepositoryMeta extends Object
  • Field Details

  • Constructor Details

    • BaseRepositoryMeta

      public BaseRepositoryMeta(String id)
    • BaseRepositoryMeta

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

      public BaseRepositoryMeta(String id, String name, String description, boolean isDefault)
      Parameters:
      id -
      name -
      description -
      isDefault -
  • Method Details

    • 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<org.pentaho.di.core.database.DatabaseMeta> databases) throws org.pentaho.di.core.exception.KettleException
      Throws:
      org.pentaho.di.core.exception.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)
    • isDefault

      public Boolean isDefault()
    • setDefault

      public void setDefault(Boolean isDefault)
    • toJSONObject

      public org.json.simple.JSONObject toJSONObject()
    • populate

      public void populate(Map<String,Object> properties, RepositoriesMeta repositoriesMeta)