public class

RunAdhocScriptBuilder

extends Object
java.lang.Object
   ↳ org.rundeck.api.RunAdhocScriptBuilder

Class Overview

A builder to build a RunAdhocScript, use the builder() to build a builder, then build() to build an RunAdhocScript

Summary

Public Constructors
RunAdhocScriptBuilder(RunAdhocScript oldScript)
Public Methods
RunAdhocScript build()
static RunAdhocScriptBuilder builder()
Create a new builder
static RunAdhocScriptBuilder builder(RunAdhocScript script)
Create a builder initialized with an existing RunAdhocScript
RunAdhocScriptBuilder setArgString(String argString)
RunAdhocScriptBuilder setAsUser(String asUser)
RunAdhocScriptBuilder setInterpreterArgsQuoted(Boolean interpreterArgsQuoted)
RunAdhocScriptBuilder setNodeFilters(Properties nodeFilters)
RunAdhocScriptBuilder setNodeKeepgoing(Boolean nodeKeepgoing)
RunAdhocScriptBuilder setNodeThreadcount(Integer nodeThreadcount)
RunAdhocScriptBuilder setProject(String project)
RunAdhocScriptBuilder setScript(InputStream stream)
RunAdhocScriptBuilder setScriptInterpreter(String scriptInterpreter)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public RunAdhocScriptBuilder (RunAdhocScript oldScript)

Public Methods

public RunAdhocScript build ()

public static RunAdhocScriptBuilder builder ()

Create a new builder

public static RunAdhocScriptBuilder builder (RunAdhocScript script)

Create a builder initialized with an existing RunAdhocScript

Returns
  • this builder

public RunAdhocScriptBuilder setArgString (String argString)

public RunAdhocScriptBuilder setAsUser (String asUser)

public RunAdhocScriptBuilder setInterpreterArgsQuoted (Boolean interpreterArgsQuoted)

public RunAdhocScriptBuilder setNodeFilters (Properties nodeFilters)

public RunAdhocScriptBuilder setNodeKeepgoing (Boolean nodeKeepgoing)

public RunAdhocScriptBuilder setNodeThreadcount (Integer nodeThreadcount)

public RunAdhocScriptBuilder setProject (String project)

public RunAdhocScriptBuilder setScript (InputStream stream)

public RunAdhocScriptBuilder setScriptInterpreter (String scriptInterpreter)