org.rundeck.api.DefaultRunAdhocScript Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rundeck-api-java-client Show documentation
Show all versions of rundeck-api-java-client Show documentation
Java client for the Rundeck REST API
The newest version!
package org.rundeck.api;
import java.io.InputStream;
/**
* Bean implementing {@link RunAdhocScript}
*/
class DefaultRunAdhocScript extends DefaultRunAdhoc implements RunAdhocScript {
private InputStream script;
private String argString;
private String scriptInterpreter;
private Boolean interpreterArgsQuoted;
@Override
public InputStream getScript() {
return script;
}
public void setScript(InputStream script) {
this.script = script;
}
public String getArgString() {
return argString;
}
public void setArgString(String argString) {
this.argString = argString;
}
public String getScriptInterpreter() {
return scriptInterpreter;
}
public void setScriptInterpreter(String scriptInterpreter) {
this.scriptInterpreter = scriptInterpreter;
}
public Boolean getInterpreterArgsQuoted() {
return interpreterArgsQuoted;
}
public void setInterpreterArgsQuoted(Boolean interpreterArgsQuoted) {
this.interpreterArgsQuoted = interpreterArgsQuoted;
}
}