public class FileTaskRunRequest extends RunRequest
Constructor and Description |
---|
FileTaskRunRequest() |
Modifier and Type | Method and Description |
---|---|
AgentProperties |
agentConfiguration()
Get the machine configuration of the run agent.
|
PlatformProperties |
platform()
Get the platform properties against which the run has to happen.
|
String |
sourceLocation()
Get the URL(absolute or relative) of the source context.
|
String |
taskFilePath()
Get the template/definition file path relative to the source.
|
Integer |
timeout()
Get run timeout in seconds.
|
List<SetValue> |
values()
Get the collection of overridable values that can be passed when running a task.
|
String |
valuesFilePath()
Get the values/parameters file path relative to the source.
|
FileTaskRunRequest |
withAgentConfiguration(AgentProperties agentConfiguration)
Set the machine configuration of the run agent.
|
FileTaskRunRequest |
withPlatform(PlatformProperties platform)
Set the platform properties against which the run has to happen.
|
FileTaskRunRequest |
withSourceLocation(String sourceLocation)
Set the URL(absolute or relative) of the source context.
|
FileTaskRunRequest |
withTaskFilePath(String taskFilePath)
Set the template/definition file path relative to the source.
|
FileTaskRunRequest |
withTimeout(Integer timeout)
Set run timeout in seconds.
|
FileTaskRunRequest |
withValues(List<SetValue> values)
Set the collection of overridable values that can be passed when running a task.
|
FileTaskRunRequest |
withValuesFilePath(String valuesFilePath)
Set the values/parameters file path relative to the source.
|
isArchiveEnabled, withIsArchiveEnabled
public String taskFilePath()
public FileTaskRunRequest withTaskFilePath(String taskFilePath)
taskFilePath
- the taskFilePath value to setpublic String valuesFilePath()
public FileTaskRunRequest withValuesFilePath(String valuesFilePath)
valuesFilePath
- the valuesFilePath value to setpublic List<SetValue> values()
public FileTaskRunRequest withValues(List<SetValue> values)
values
- the values value to setpublic Integer timeout()
public FileTaskRunRequest withTimeout(Integer timeout)
timeout
- the timeout value to setpublic PlatformProperties platform()
public FileTaskRunRequest withPlatform(PlatformProperties platform)
platform
- the platform value to setpublic AgentProperties agentConfiguration()
public FileTaskRunRequest withAgentConfiguration(AgentProperties agentConfiguration)
agentConfiguration
- the agentConfiguration value to setpublic String sourceLocation()
public FileTaskRunRequest withSourceLocation(String sourceLocation)
sourceLocation
- the sourceLocation value to setCopyright © 2019. All rights reserved.