Interface ProjectDataImporter

  • All Known Subinterfaces:
    ProjectComponent

    public interface ProjectDataImporter
    importer of project archive data
    • Method Detail

      • doImport

        default java.util.List<java.lang.String> doImport​(com.dtolabs.rundeck.core.authorization.UserAndRolesAuthContext authContext,
                                                          java.lang.String project,
                                                          java.util.Map<java.lang.String,​java.io.File> importFiles,
                                                          java.util.Map<java.lang.String,​java.lang.String> importOptions)
        Import content from a project archive
        Parameters:
        authContext - auth context
        project - project name
        importFiles - map of file names and files that were matched by import patterns
        importOptions - options map
        Returns:
        Errors encountered during the import process that should be reported to the user
      • getImportAuthRequiredActions

        default java.util.List<java.lang.String> getImportAuthRequiredActions()
        Returns:
        authorization action names to test, any match will be allowed
      • getImportProperties

        default java.util.List<Property> getImportProperties()
        Returns:
        list of input properties for import process
      • getImportFilePatterns

        default java.util.List<java.lang.String> getImportFilePatterns()
        Returns:
        list of ZipReader file patterns
      • getImportMustRunBefore

        default java.util.List<java.lang.String> getImportMustRunBefore()
        Returns:
        list of component names to run before
      • getImportMustRunAfter

        default java.util.List<java.lang.String> getImportMustRunAfter()
        Returns:
        list of component names to run after