org.pentaho.di.repository.filerep
Class KettleFileRepositoryMeta

java.lang.Object
  extended by org.pentaho.di.repository.BaseRepositoryMeta
      extended by org.pentaho.di.repository.filerep.KettleFileRepositoryMeta
All Implemented Interfaces:
RepositoryMeta

public class KettleFileRepositoryMeta
extends BaseRepositoryMeta
implements RepositoryMeta


Field Summary
static String REPOSITORY_TYPE_ID
           
 
Fields inherited from interface org.pentaho.di.repository.RepositoryMeta
XML_TAG
 
Constructor Summary
KettleFileRepositoryMeta()
           
KettleFileRepositoryMeta(String id, String name, String description, String baseDirectory)
           
 
Method Summary
 RepositoryMeta clone()
           
 String getBaseDirectory()
           
 RepositoryCapabilities getRepositoryCapabilities()
          Describes the capabilities of the repository
 String getXML()
           
 boolean isHidingHiddenFiles()
           
 boolean isReadOnly()
           
 void loadXML(Node repnode, List<DatabaseMeta> databases)
           
 void setBaseDirectory(String baseDirectory)
           
 void setHidingHiddenFiles(boolean hidingHiddenFiles)
           
 void setReadOnly(boolean readOnly)
           
 
Methods inherited from class org.pentaho.di.repository.BaseRepositoryMeta
getDescription, getDialogClassName, getId, getName, getRevisionBrowserDialogClassName, setDescription, setId, setName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.pentaho.di.repository.RepositoryMeta
getDescription, getDialogClassName, getId, getName, getRevisionBrowserDialogClassName, setDescription, setId, setName
 

Field Detail

REPOSITORY_TYPE_ID

public static String REPOSITORY_TYPE_ID
Constructor Detail

KettleFileRepositoryMeta

public KettleFileRepositoryMeta()

KettleFileRepositoryMeta

public KettleFileRepositoryMeta(String id,
                                String name,
                                String description,
                                String baseDirectory)
Method Detail

getRepositoryCapabilities

public RepositoryCapabilities getRepositoryCapabilities()
Description copied from interface: RepositoryMeta
Describes the capabilities of the repository

Specified by:
getRepositoryCapabilities in interface RepositoryMeta
Returns:
The repository capabilities object

getXML

public String getXML()
Specified by:
getXML in interface RepositoryMeta
Overrides:
getXML in class BaseRepositoryMeta

loadXML

public void loadXML(Node repnode,
                    List<DatabaseMeta> databases)
             throws KettleException
Specified by:
loadXML in interface RepositoryMeta
Overrides:
loadXML in class BaseRepositoryMeta
Throws:
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 interface RepositoryMeta
Overrides:
clone in class Object

isHidingHiddenFiles

public boolean isHidingHiddenFiles()
Returns:
the hidingHiddenFiles

setHidingHiddenFiles

public void setHidingHiddenFiles(boolean hidingHiddenFiles)
Parameters:
hidingHiddenFiles - the hidingHiddenFiles to set