public interface ScriptSpec extends BaseScriptSpec
Describes how to configure a script and its arguments.
| Type Params | Return Type | Name and description |
|---|---|---|
|
public Provider<String> |
getNameOrPath()Provider to either a script name or a string-based representation of the file path where the script can be found. |
|
public Provider<File> |
getPath()Provider to the path of a script. |
|
public void |
setPath(Object lazyPath)Sets the path of the script including the name of the script. |
| Methods inherited from class | Name |
|---|---|
interface BaseScriptSpec |
getName, setName |
interface CmdlineArgumentSpec |
addCommandLineArgumentProviders, args, args, getArgs, setArgs |
interface AllArgsProvider |
getAllArgs, getPreArgs |
interface CommandLineArgumentProviders |
getCommandLineArgumentProviders |
Provider to either a script name or a string-based representation of the file path where the script can be found. Normally the name should be resolved first, and if that is empty the path to the script.
Provider to the path of a script.
Sets the path of the script including the name of the script. Use this when the script is at a known location.
lazyPath - LAzy evaluated path on file system.