1 /**
2 * Copyright 2011-2013 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.context;
17
18 /**
19 * Provides context for executing an external process.
20 *
21 * executable - the name of the executable to run<br>
22 * args - command line arguments for the executable<br>
23 * input - anything provided here gets piped to standard in of the executable<br>
24 */
25 public class ProcessContext {
26 String executable;
27 String[] args;
28 String input;
29
30 public String getExecutable() {
31 return executable;
32 }
33
34 public void setExecutable(String executable) {
35 this.executable = executable;
36 }
37
38 public String[] getArgs() {
39 return args;
40 }
41
42 public void setArgs(String[] args) {
43 this.args = args;
44 }
45
46 public String getInput() {
47 return input;
48 }
49
50 public void setInput(String input) {
51 this.input = input;
52 }
53 }