|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRepositoryImporter
Handles importing a repository.
Method Summary | |
---|---|
List<Exception> |
getExceptions()
Returns a list of exceptions that the implementation may maintain. |
void |
importAll(RepositoryImportFeedbackInterface feedback,
String fileDirectory,
String[] filenames,
RepositoryDirectoryInterface baseDirectory,
boolean overwrite,
boolean continueOnError,
String versionComment)
Import objects from an XML document to a repository. |
void |
setImportRules(ImportRules importRules)
Set the list of rules that need to be applied to every imported object. |
void |
setJobDirOverride(String jobDirOverride)
Overrides repository directory for all imported jobs. |
void |
setTransDirOverride(String transDirOverride)
Overrides repository directory for all imported transformations. |
Methods inherited from interface org.pentaho.di.core.ProgressMonitorListener |
---|
beginTask, done, isCanceled, setTaskName, subTask, worked |
Methods inherited from interface org.pentaho.di.repository.RepositoryImportFeedbackInterface |
---|
addLog, askContinueOnErrorQuestion, isAskingOverwriteConfirmation, jobOverwritePrompt, setLabel, showError, transOverwritePrompt, updateDisplay |
Methods inherited from interface org.pentaho.di.repository.RepositoryElementReadListener |
---|
fatalXmlErrorEncountered, jobElementRead, transformationElementRead |
Method Detail |
---|
void importAll(RepositoryImportFeedbackInterface feedback, String fileDirectory, String[] filenames, RepositoryDirectoryInterface baseDirectory, boolean overwrite, boolean continueOnError, String versionComment)
feedback
- Required to provide feedback to the user.fileDirectory
- Base directory to load files (named filenames
) fromfilenames
- Names of files found in fileDirectory
to be imported.baseDirectory
- Base directory to load objects into.overwrite
- Should objects in the repository be overwritten with ones we're importing?continueOnError
- Should the import continue if there is an error importing an object?versionComment
- Comment to use when saving imported objects.void setImportRules(ImportRules importRules)
importRules
- The rules to use during import into the repositoryvoid setTransDirOverride(String transDirOverride)
void setJobDirOverride(String jobDirOverride)
List<Exception> getExceptions()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |