Udostępnij przez


RegistryTaskRun.DefinitionStages.RunRequestExecutableWithSourceLocation Interface

Implements

public static interface RegistryTaskRun.DefinitionStages.RunRequestExecutableWithSourceLocation
extends AgentConfiguration, RunRequestExecutable

The stage of the container registry task run definition which contains all the minimum required inputs for the resource to be executed if the task run request type is either file, encoded, or Docker, but also allows for any other optional settings to be specified.

Method Summary

Modifier and Type Method and Description
abstract RunRequestExecutableWithSourceLocation withSourceLocation(String location)

The function that specifies the location of the source control.

abstract RunRequestExecutableWithSourceLocation withTimeout(int timeout)

The function that specifies the timeout.

Method Details

withSourceLocation

public abstract RegistryTaskRun.DefinitionStages.RunRequestExecutableWithSourceLocation withSourceLocation(String location)

The function that specifies the location of the source control.

Parameters:

location - the location of the source control.

Returns:

the next stage of the container registry task run definition.

withTimeout

public abstract RegistryTaskRun.DefinitionStages.RunRequestExecutableWithSourceLocation withTimeout(int timeout)

The function that specifies the timeout.

Parameters:

timeout - the time the timeout lasts.

Returns:

the next stage of the container registry task run definition.

Applies to