Describes how to configure a script and its arguments.
| Type Params | Return Type | Name and description |
|---|---|---|
|
Provider<String> |
getName()Provider to the name of a script. |
|
Provider<String> |
getNameOrPath()Provider to either a script name or a string-based representation of the file path where the script can be found. |
|
Provider<File> |
getPath()Provider to the path of a script. |
|
void |
setName(Object lazyName)Set the name of the script. |
|
void |
setPath(Object lazyPath)Sets the path of the script including the name of the script. |
| Methods inherited from class | Name |
|---|---|
interface CmdlineArgumentSpec |
addCommandLineArgumentProviders, args, args, getAllArgs, getArgs, getCommandLineArgumentProviders, setArgs |
interface AllArgsProvider |
getAllArgs, getPreArgs |
Provider to the name of a script.
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.
Set the name of the script. This is useful for cases where the scripting system can auto-resolve the location of the script.
lazyName - Lazy evaluated name. Needs to evaluate to a string.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.