RegistryDockerTaskStep.DefinitionStages.DockerTaskStepAttachable Interface

Implements

public static interface RegistryDockerTaskStep.DefinitionStages.DockerTaskStepAttachable
extends Attachable<SourceTriggerDefinition>

The stage of the definition which contains all the minimum required inputs for the resource to be attached, but also allows for any other optional settings to be specified.

Method Summary

Modifier and Type Method and Description
abstract DockerTaskStepAttachable withCacheEnabled(boolean enabled)

The function that specifies the use of a cache based on user input parameter.

abstract DockerTaskStepAttachable withImageNames(List<String> imageNames)

The function that specifies the list of image names.

abstract DockerTaskStepAttachable withOverridingArgument(String name, OverridingArgument overridingArgument)

The function that specifies the overriding argument and what it will override.

abstract DockerTaskStepAttachable withOverridingArguments(Map<String,OverridingArgument> overridingArguments)

The function that specifies the overriding arguments and what they will override.

abstract DockerTaskStepAttachable withPushEnabled(boolean enabled)

The function that enables push depending on user input parameter.

Method Details

withCacheEnabled

public abstract RegistryDockerTaskStep.DefinitionStages.DockerTaskStepAttachable withCacheEnabled(boolean enabled)

The function that specifies the use of a cache based on user input parameter.

Parameters:

enabled - whether caching will be enabled.

Returns:

the next step of the container registry DockerTaskStep definition.

withImageNames

public abstract RegistryDockerTaskStep.DefinitionStages.DockerTaskStepAttachable withImageNames(List<String> imageNames)

The function that specifies the list of image names.

Parameters:

imageNames - the image names.

Returns:

the next step of the container registry DockerTaskStep definition.

withOverridingArgument

public abstract RegistryDockerTaskStep.DefinitionStages.DockerTaskStepAttachable withOverridingArgument(String name, OverridingArgument overridingArgument)

The function that specifies the overriding argument and what it will override.

Parameters:

name - the name of the value to be overridden.
overridingArgument - the content of the overriding argument.

Returns:

the next stage of the container Docker task step definition.

withOverridingArguments

public abstract RegistryDockerTaskStep.DefinitionStages.DockerTaskStepAttachable withOverridingArguments(Map<String,OverridingArgument> overridingArguments)

The function that specifies the overriding arguments and what they will override.

Parameters:

overridingArguments - map with key of the name of the value to be overridden and value OverridingArgument specifying the content of the overriding argument.

Returns:

the next stage of the container Docker task step definition.

withPushEnabled

public abstract RegistryDockerTaskStep.DefinitionStages.DockerTaskStepAttachable withPushEnabled(boolean enabled)

The function that enables push depending on user input parameter.

Parameters:

enabled - whether push will be enabled

Returns:

the next step of the container registry DockerTaskStep definition.

Applies to