package com.dtolabs.rundeck.plugins.scm;

import com.dtolabs.rundeck.core.plugins.configuration.ConfigurationException;
import com.dtolabs.rundeck.core.plugins.configuration.Property;

import java.io.File;
import java.util.List;
import java.util.Map;

/**
 * Created by greg on 9/9/15.
 */
public interface ScmImportPluginFactory {
    ScmImportPlugin createPlugin(Map<String, ?> input, String project) throws ConfigurationException;

    List<Property> getSetupPropertiesForBasedir(File basedir) ;
}

@@ -256,80 +256,399 @@
 %0A * 
-Created by greg on 9/9/15.%0A */%0Apublic interface ScmImportPluginFactory %7B
+Factory for %7B@link ScmImportPlugin%7D, interface for SCMImport plugins.%0A */%0Apublic interface ScmImportPluginFactory %7B%0A    /**%0A     * Create the plugin%0A     *%0A     * @param input        setup config%0A     * @param trackedItems tracked items list%0A     * @param project      project name%0A     *%0A     * @return plugin instance%0A     *%0A     * @throws ConfigurationException if an error occurs%0A     */
 %0A   
@@ -693,17 +693,22 @@
 ng, 
-?
+String
 %3E input,
  Str
@@ -703,16 +703,43 @@
 %3E input,
+ List%3CString%3E trackedItems,
  String 
@@ -746,16 +746,28 @@
 project)
+%0A           
  throws 
@@ -791,16 +791,170 @@
 ption;%0A%0A
+    /**%0A     * Setup properties for the base directory%0A     *%0A     * @param basedir project base directory%0A     *%0A     * @return setup properties%0A     */%0A
     List
@@ -1006,13 +1006,12 @@
 basedir)
- 
 ;%0A%7D%0A

add trackeditems in factory creation method