Class KettleFileRepositoryMeta
- java.lang.Object
-
- org.pentaho.di.repository.BaseRepositoryMeta
-
- org.pentaho.di.repository.filerep.KettleFileRepositoryMeta
-
- All Implemented Interfaces:
RepositoryMeta
public class KettleFileRepositoryMeta extends BaseRepositoryMeta implements RepositoryMeta
-
-
Field Summary
Fields Modifier and Type Field Description static String
DO_NOT_MODIFY
static String
LOCATION
static String
REPOSITORY_TYPE_ID
static String
SHOW_HIDDEN_FOLDERS
-
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
Constructors Constructor Description KettleFileRepositoryMeta()
KettleFileRepositoryMeta(String id, String name, String description, String baseDirectory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RepositoryMeta
clone()
String
getBaseDirectory()
RepositoryCapabilities
getRepositoryCapabilities()
Describes the capabilities of the repositoryString
getXML()
boolean
isHidingHiddenFiles()
boolean
isReadOnly()
void
loadXML(Node repnode, List<org.pentaho.di.core.database.DatabaseMeta> databases)
void
populate(Map<String,Object> properties, RepositoriesMeta repositoriesMeta)
void
setBaseDirectory(String baseDirectory)
void
setHidingHiddenFiles(boolean hidingHiddenFiles)
void
setReadOnly(boolean readOnly)
org.json.simple.JSONObject
toJSONObject()
-
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 Detail
-
SHOW_HIDDEN_FOLDERS
public static final String SHOW_HIDDEN_FOLDERS
- See Also:
- Constant Field Values
-
LOCATION
public static final String LOCATION
- See Also:
- Constant Field Values
-
DO_NOT_MODIFY
public static final String DO_NOT_MODIFY
- See Also:
- Constant Field Values
-
REPOSITORY_TYPE_ID
public static String REPOSITORY_TYPE_ID
-
-
Method Detail
-
getRepositoryCapabilities
public RepositoryCapabilities getRepositoryCapabilities()
Description copied from interface:RepositoryMeta
Describes the capabilities of the repository- Specified by:
getRepositoryCapabilities
in interfaceRepositoryMeta
- Returns:
- The repository capabilities object
-
getXML
public String 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
public String getBaseDirectory()
- Returns:
- the baseDirectory
-
setBaseDirectory
public void setBaseDirectory(String baseDirectory)
- 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
public RepositoryMeta clone()
- Specified by:
clone
in interfaceRepositoryMeta
- Overrides:
clone
in classObject
-
populate
public void populate(Map<String,Object> properties, RepositoriesMeta repositoriesMeta)
- 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
-
-