1 package org.rundeck.api;
2
3 import java.io.InputStream;
4
5
6
7
8 class DefaultRunAdhocScript extends DefaultRunAdhoc implements RunAdhocScript {
9 private InputStream script;
10 private String argString;
11 private String scriptInterpreter;
12 private Boolean interpreterArgsQuoted;
13
14 @Override
15 public InputStream getScript() {
16 return script;
17 }
18
19 public void setScript(InputStream script) {
20 this.script = script;
21 }
22
23 public String getArgString() {
24 return argString;
25 }
26
27 public void setArgString(String argString) {
28 this.argString = argString;
29 }
30
31 public String getScriptInterpreter() {
32 return scriptInterpreter;
33 }
34
35 public void setScriptInterpreter(String scriptInterpreter) {
36 this.scriptInterpreter = scriptInterpreter;
37 }
38
39 public Boolean getInterpreterArgsQuoted() {
40 return interpreterArgsQuoted;
41 }
42
43 public void setInterpreterArgsQuoted(Boolean interpreterArgsQuoted) {
44 this.interpreterArgsQuoted = interpreterArgsQuoted;
45 }
46 }