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