Package org.pentaho.di.repository
Class BaseRepositoryMeta
java.lang.Object
org.pentaho.di.repository.BaseRepositoryMeta
- Direct Known Subclasses:
KettleDatabaseRepositoryMeta
,KettleFileRepositoryMeta
-
Field Summary
-
Constructor Summary
ConstructorDescriptionBaseRepositoryMeta
(String id, String name, String description) BaseRepositoryMeta
(String id, String name, String description, boolean isDefault) -
Method Summary
Modifier and TypeMethodDescriptionThis 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.getId()
getName()
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.getXML()
void
void
populate
(Map<String, Object> properties, RepositoriesMeta repositoriesMeta) void
setDefault
(Boolean isDefault) void
setDescription
(String description) void
void
org.json.simple.JSONObject
-
Field Details
-
ID
- See Also:
-
DISPLAY_NAME
- See Also:
-
DESCRIPTION
- See Also:
-
IS_DEFAULT
- See Also:
-
id
-
name
-
description
-
isDefault
-
-
Constructor Details
-
BaseRepositoryMeta
-
BaseRepositoryMeta
- Parameters:
id
-name
-description
-
-
BaseRepositoryMeta
- Parameters:
id
-name
-description
-isDefault
-
-
-
Method Details
-
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
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
-
getId
-
setId
-
getName
-
setName
-
getDescription
-
setDescription
-
isDefault
-
setDefault
-
toJSONObject
public org.json.simple.JSONObject toJSONObject() -
populate
-