Class KettleFileRepositoryMeta
java.lang.Object
org.pentaho.di.repository.BaseRepositoryMeta
org.pentaho.di.repository.filerep.KettleFileRepositoryMeta
- All Implemented Interfaces:
RepositoryMeta
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static String
static final String
Fields inherited from class org.pentaho.di.repository.BaseRepositoryMeta
description, DESCRIPTION, DISPLAY_NAME, id, ID, IS_DEFAULT, isDefault, name
Fields inherited from interface org.pentaho.di.repository.RepositoryMeta
XML_TAG
-
Constructor Summary
ConstructorDescriptionKettleFileRepositoryMeta
(String id, String name, String description, String baseDirectory) -
Method Summary
Modifier and TypeMethodDescriptionclone()
Describes the capabilities of the repositorygetXML()
boolean
boolean
void
void
populate
(Map<String, Object> properties, RepositoriesMeta repositoriesMeta) void
setBaseDirectory
(String baseDirectory) void
setHidingHiddenFiles
(boolean hidingHiddenFiles) void
setReadOnly
(boolean readOnly) org.json.simple.JSONObject
Methods inherited from class org.pentaho.di.repository.BaseRepositoryMeta
getDescription, getDialogClassName, getId, getName, getRevisionBrowserDialogClassName, isDefault, setDefault, setDescription, setId, setName
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
getDescription, getDialogClassName, getId, getName, getRevisionBrowserDialogClassName, isDefault, setDefault, setDescription, setId, setName
-
Field Details
-
SHOW_HIDDEN_FOLDERS
- See Also:
-
LOCATION
- See Also:
-
DO_NOT_MODIFY
- See Also:
-
REPOSITORY_TYPE_ID
-
-
Constructor Details
-
KettleFileRepositoryMeta
public KettleFileRepositoryMeta() -
KettleFileRepositoryMeta
-
-
Method Details
-
getRepositoryCapabilities
Description copied from interface:RepositoryMeta
Describes the capabilities of the repository- Specified by:
getRepositoryCapabilities
in interfaceRepositoryMeta
- Returns:
- The repository capabilities object
-
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
-
getBaseDirectory
- Returns:
- the baseDirectory
-
setBaseDirectory
- Parameters:
baseDirectory
- the baseDirectory to set
-
isReadOnly
public boolean isReadOnly()- Returns:
- the readOnly
-
setReadOnly
public void setReadOnly(boolean readOnly) - Parameters:
readOnly
- the readOnly to set
-
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
-
isHidingHiddenFiles
public boolean isHidingHiddenFiles()- Returns:
- the hidingHiddenFiles
-
setHidingHiddenFiles
public void setHidingHiddenFiles(boolean hidingHiddenFiles) - Parameters:
hidingHiddenFiles
- the hidingHiddenFiles to set
-