View Javadoc

1   package org.rundeck.api;
2   
3   import org.rundeck.api.domain.RundeckJobsImportMethod;
4   import org.rundeck.api.domain.RundeckJobsUUIDImportBehavior;
5   
6   import java.io.InputStream;
7   
8   /**
9    * Request to import a set of Job definitions
10   */
11  public interface RundeckJobsImport {
12      /**
13       * Return the input stream
14       * @return
15       */
16      public InputStream getStream();
17  
18      /**
19       * Return the file type
20       * @return
21       */
22      public FileType getFileType();
23  
24      /**
25       * Return the import behavior
26       * @return
27       */
28      public RundeckJobsImportMethod getImportMethod();
29      /**
30       * Return the import behavior
31       * @return
32       */
33      public RundeckJobsUUIDImportBehavior getUuidImportBehavior();
34  
35      /**
36       * Return the project name
37       * @return
38       */
39      public String getProject();
40  }