public class DockerBuildRequest extends RunRequest
Constructor and Description |
---|
DockerBuildRequest() |
Modifier and Type | Method and Description |
---|---|
AgentProperties |
agentConfiguration()
Get the machine configuration of the run agent.
|
List<Argument> |
arguments()
Get the collection of override arguments to be used when executing the run.
|
String |
dockerFilePath()
Get the Docker file path relative to the source location.
|
List<String> |
imageNames()
Get the fully qualified image names including the repository and tag.
|
Boolean |
isPushEnabled()
Get the value of this property indicates whether the image built should be pushed to the registry or not.
|
Boolean |
noCache()
Get the value of this property indicates whether the image cache is enabled or not.
|
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.
|
DockerBuildRequest |
withAgentConfiguration(AgentProperties agentConfiguration)
Set the machine configuration of the run agent.
|
DockerBuildRequest |
withArguments(List<Argument> arguments)
Set the collection of override arguments to be used when executing the run.
|
DockerBuildRequest |
withDockerFilePath(String dockerFilePath)
Set the Docker file path relative to the source location.
|
DockerBuildRequest |
withImageNames(List<String> imageNames)
Set the fully qualified image names including the repository and tag.
|
DockerBuildRequest |
withIsPushEnabled(Boolean isPushEnabled)
Set the value of this property indicates whether the image built should be pushed to the registry or not.
|
DockerBuildRequest |
withNoCache(Boolean noCache)
Set the value of this property indicates whether the image cache is enabled or not.
|
DockerBuildRequest |
withPlatform(PlatformProperties platform)
Set the platform properties against which the run has to happen.
|
DockerBuildRequest |
withSourceLocation(String sourceLocation)
Set the URL(absolute or relative) of the source context.
|
DockerBuildRequest |
withTimeout(Integer timeout)
Set run timeout in seconds.
|
isArchiveEnabled, withIsArchiveEnabled
public List<String> imageNames()
public DockerBuildRequest withImageNames(List<String> imageNames)
imageNames
- the imageNames value to setpublic Boolean isPushEnabled()
public DockerBuildRequest withIsPushEnabled(Boolean isPushEnabled)
isPushEnabled
- the isPushEnabled value to setpublic Boolean noCache()
public DockerBuildRequest withNoCache(Boolean noCache)
noCache
- the noCache value to setpublic String dockerFilePath()
public DockerBuildRequest withDockerFilePath(String dockerFilePath)
dockerFilePath
- the dockerFilePath value to setpublic List<Argument> arguments()
public DockerBuildRequest withArguments(List<Argument> arguments)
arguments
- the arguments value to setpublic Integer timeout()
public DockerBuildRequest withTimeout(Integer timeout)
timeout
- the timeout value to setpublic PlatformProperties platform()
public DockerBuildRequest withPlatform(PlatformProperties platform)
platform
- the platform value to setpublic AgentProperties agentConfiguration()
public DockerBuildRequest withAgentConfiguration(AgentProperties agentConfiguration)
agentConfiguration
- the agentConfiguration value to setpublic String sourceLocation()
public DockerBuildRequest withSourceLocation(String sourceLocation)
sourceLocation
- the sourceLocation value to setCopyright © 2019. All rights reserved.