Share via


RegistryTaskRun.DefinitionStages.RegistryTaskRunRequest Interface

Implements

public static interface RegistryTaskRun.DefinitionStages.RegistryTaskRunRequest
extends RunRequestExecutable

The stage of the container registry task definition for TaskRunRequests that allows the user to specify overriding values and whether archiving is enabled or not.

Method Summary

Modifier and Type Method and Description
abstract RegistryTaskRunRequest withArchiveEnabled(boolean enabled)

The function that specifies archiving will or will not be enabled.

abstract RegistryTaskRunRequest withOverridingValue(String name, OverridingValue overridingValue)

The function that specifies whether a single value will be overridden and what it will be overridden by.

abstract RegistryTaskRunRequest withOverridingValues(Map<String,OverridingValue> overridingValues)

The function that specifies whether there are any values that will be overridden and what they will be overridden by.

Method Details

withArchiveEnabled

public abstract RegistryTaskRun.DefinitionStages.RegistryTaskRunRequest withArchiveEnabled(boolean enabled)

The function that specifies archiving will or will not be enabled.

Parameters:

enabled - whether archive will be enabled.

Returns:

the next stage of the container registry task run definition.

withOverridingValue

public abstract RegistryTaskRun.DefinitionStages.RegistryTaskRunRequest withOverridingValue(String name, OverridingValue overridingValue)

The function that specifies whether a single value will be overridden and what it will be overridden by.

Parameters:

name - the name of the value to be overridden.
overridingValue - the OverridingValue specifying what the value will be overridden with.

Returns:

the next stage of the container registry task run definition.

withOverridingValues

public abstract RegistryTaskRun.DefinitionStages.RegistryTaskRunRequest withOverridingValues(Map<String,OverridingValue> overridingValues)

The function that specifies whether there are any values that will be overridden and what they will be overridden by.

Parameters:

overridingValues - a map that has the name of the value to be overridden as the key and the value is an OverridingValue.

Returns:

the next stage of the container registry task run definition.

Applies to