public class Exporter extends Object
Modifier and Type | Field and Description |
---|---|
protected org.pentaho.platform.repository2.unified.webservices.DefaultUnifiedRepositoryWebService |
repoWs |
Constructor and Description |
---|
Exporter(org.pentaho.platform.api.repository2.unified.IUnifiedRepository unifiedRepository) |
Exporter(org.pentaho.platform.api.repository2.unified.IUnifiedRepository unifiedRepository,
String path) |
Exporter(org.pentaho.platform.api.repository2.unified.IUnifiedRepository unifiedRepository,
String path,
String filePath) |
Modifier and Type | Method and Description |
---|---|
void |
doExport() |
File |
doExportAsZip() |
File |
doExportAsZip(org.pentaho.platform.api.repository2.unified.RepositoryFile exportRepositoryFile) |
void |
exportDirectory(org.pentaho.platform.api.repository2.unified.RepositoryFile repositoryDir,
File parentDir) |
void |
exportFile(org.pentaho.platform.api.repository2.unified.RepositoryFile exportRepositoryFile,
File exportDirectory) |
String |
getFilePath() |
String |
getRepoPath() |
org.pentaho.platform.repository2.unified.webservices.DefaultUnifiedRepositoryWebService |
getRepoWs() |
org.pentaho.platform.api.repository2.unified.IUnifiedRepository |
getUnifiedRepository() |
void |
setFilePath(String filePath) |
void |
setRepoPath(String repoPath) |
void |
setRepoWs(org.pentaho.platform.repository2.unified.webservices.DefaultUnifiedRepositoryWebService repoWs) |
void |
setUnifiedRepository(org.pentaho.platform.api.repository2.unified.IUnifiedRepository unifiedRepository) |
protected org.pentaho.platform.repository2.unified.webservices.DefaultUnifiedRepositoryWebService repoWs
public Exporter(org.pentaho.platform.api.repository2.unified.IUnifiedRepository unifiedRepository)
unifiedRepository
- public Exporter(org.pentaho.platform.api.repository2.unified.IUnifiedRepository unifiedRepository, String path)
unifiedRepository
- public void doExport() throws IOException
IOException
public File doExportAsZip() throws IOException
IOException
public File doExportAsZip(org.pentaho.platform.api.repository2.unified.RepositoryFile exportRepositoryFile) throws IOException
exportRepositoryFile
- IOException
public void exportDirectory(org.pentaho.platform.api.repository2.unified.RepositoryFile repositoryDir, File parentDir) throws IOException
repositoryDir
- parentDir
- IOException
public void exportFile(org.pentaho.platform.api.repository2.unified.RepositoryFile exportRepositoryFile, File exportDirectory) throws IOException
exportRepositoryFile
- exportDirectory
- IOException
public org.pentaho.platform.api.repository2.unified.IUnifiedRepository getUnifiedRepository()
public void setUnifiedRepository(org.pentaho.platform.api.repository2.unified.IUnifiedRepository unifiedRepository)
unifiedRepository
- public String getRepoPath()
public void setRepoPath(String repoPath)
repoPath
- public String getFilePath()
public void setFilePath(String filePath)
filePath
- public org.pentaho.platform.repository2.unified.webservices.DefaultUnifiedRepositoryWebService getRepoWs()
public void setRepoWs(org.pentaho.platform.repository2.unified.webservices.DefaultUnifiedRepositoryWebService repoWs)
repoWs
- Copyright © 2019 Hitachi Vantara. All rights reserved.