View Javadoc

1   /**
2    * Copyright 2011-2012 The Kuali Foundation
3    *
4    * Licensed under the Educational Community License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    * http://www.opensource.org/licenses/ecl2.php
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  package org.kuali.maven.plugins.jenkins;
17  
18  import java.io.File;
19  import java.util.List;
20  
21  /**
22   * Low level abstraction of a Jenkins CLI command.
23   */
24  public class Command {
25      private List<String> args;
26      private String stdin;
27      private String stdinUrl;
28      private File stdout;
29  
30      public List<String> getArgs() {
31          return args;
32      }
33  
34      public void setArgs(List<String> args) {
35          this.args = args;
36      }
37  
38      public String getStdin() {
39          return stdin;
40      }
41  
42      public void setStdin(String stdin) {
43          this.stdin = stdin;
44      }
45  
46      public String getStdinUrl() {
47          return stdinUrl;
48      }
49  
50      public void setStdinUrl(String stdinUrl) {
51          this.stdinUrl = stdinUrl;
52      }
53  
54      public File getStdout() {
55          return stdout;
56      }
57  
58      public void setStdout(File stdout) {
59          this.stdout = stdout;
60      }
61  }