Package org.pentaho.di.repository.kdr
Class KettleDatabaseRepositoryMeta
java.lang.Object
org.pentaho.di.repository.BaseRepositoryMeta
org.pentaho.di.repository.kdr.KettleDatabaseRepositoryMeta
- All Implemented Interfaces:
RepositoryMeta
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static String
The id as specified in the repository plugin meta, used for backward compatibility onlyFields inherited from class org.pentaho.di.repository.BaseRepositoryMeta
description, DESCRIPTION, DISPLAY_NAME, id, IS_DEFAULT, isDefault, name
Fields inherited from interface org.pentaho.di.repository.RepositoryMeta
XML_TAG
-
Constructor Summary
ConstructorDescriptionKettleDatabaseRepositoryMeta
(String id, String name, String description, org.pentaho.di.core.database.DatabaseMeta connection) -
Method Summary
Modifier and TypeMethodDescriptionclone()
org.pentaho.di.core.database.DatabaseMeta
getName()
Describes the capabilities of the repositorygetXML()
void
void
populate
(Map<String, Object> properties, RepositoriesMeta repositoriesMeta) void
setConnection
(org.pentaho.di.core.database.DatabaseMeta connection) void
setDefault
(Boolean isDefault) void
setDescription
(String description) void
org.json.simple.JSONObject
Methods inherited from class org.pentaho.di.repository.BaseRepositoryMeta
getDialogClassName, getId, getRevisionBrowserDialogClassName, setId
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.pentaho.di.repository.RepositoryMeta
getDialogClassName, getId, getRevisionBrowserDialogClassName, setId
-
Field Details
-
ID
- See Also:
-
DATABASE_CONNECTION
- See Also:
-
REPOSITORY_TYPE_ID
The id as specified in the repository plugin meta, used for backward compatibility only
-
-
Constructor Details
-
KettleDatabaseRepositoryMeta
public KettleDatabaseRepositoryMeta() -
KettleDatabaseRepositoryMeta
-
KettleDatabaseRepositoryMeta
-
-
Method Details
-
getRepositoryCapabilities
Description copied from interface:RepositoryMeta
Describes the capabilities of the repository- Specified by:
getRepositoryCapabilities
in interfaceRepositoryMeta
- Returns:
- The repository capabilities object
-
setName
- Specified by:
setName
in interfaceRepositoryMeta
- Overrides:
setName
in classBaseRepositoryMeta
- Parameters:
name
- the name to set
-
getName
- Specified by:
getName
in interfaceRepositoryMeta
- Overrides:
getName
in classBaseRepositoryMeta
- Returns:
- the name
-
setDescription
- Specified by:
setDescription
in interfaceRepositoryMeta
- Overrides:
setDescription
in classBaseRepositoryMeta
- Parameters:
description
- the description to set
-
getDescription
- Specified by:
getDescription
in interfaceRepositoryMeta
- Overrides:
getDescription
in classBaseRepositoryMeta
- Returns:
- the description
-
isDefault
- Specified by:
isDefault
in interfaceRepositoryMeta
- Overrides:
isDefault
in classBaseRepositoryMeta
- Returns:
- the isDefault
-
setDefault
- Specified by:
setDefault
in interfaceRepositoryMeta
- Overrides:
setDefault
in classBaseRepositoryMeta
- Parameters:
isDefault
- the isDefault to set
-
setConnection
public void setConnection(org.pentaho.di.core.database.DatabaseMeta connection) -
getConnection
public org.pentaho.di.core.database.DatabaseMeta getConnection() -
getXML
- Specified by:
getXML
in interfaceRepositoryMeta
- Overrides:
getXML
in classBaseRepositoryMeta
-
loadXML
public void loadXML(Node repnode, List<org.pentaho.di.core.database.DatabaseMeta> databases) throws org.pentaho.di.core.exception.KettleException - Specified by:
loadXML
in interfaceRepositoryMeta
- Overrides:
loadXML
in classBaseRepositoryMeta
- Throws:
org.pentaho.di.core.exception.KettleException
-
clone
- Specified by:
clone
in interfaceRepositoryMeta
- Overrides:
clone
in classObject
-
populate
- Specified by:
populate
in interfaceRepositoryMeta
- Overrides:
populate
in classBaseRepositoryMeta
-
toJSONObject
public org.json.simple.JSONObject toJSONObject()- Specified by:
toJSONObject
in interfaceRepositoryMeta
- Overrides:
toJSONObject
in classBaseRepositoryMeta
-