FileTaskStep Class
- java.
lang. Object - com.
azure. resourcemanager. containerregistry. models. TaskStepProperties - com.
azure. resourcemanager. containerregistry. models. FileTaskStep
- com.
- com.
public final class FileTaskStep
extends TaskStepProperties
The properties of a task step.
Constructor Summary
Constructor | Description |
---|---|
FileTaskStep() |
Creates an instance of File |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
taskFilePath()
Get the task |
void |
validate()
Validates the instance. |
List<Set |
values()
Get the values property: The collection of overridable values that can be passed when running a task. |
String |
valuesFilePath()
Get the values |
File |
withContextAccessToken(String contextAccessToken)
Set the context |
File |
withContextPath(String contextPath)
Set the context |
File |
withTaskFilePath(String taskFilePath)
Set the task |
File |
withValues(List<SetValue> values)
Set the values property: The collection of overridable values that can be passed when running a task. |
File |
withValuesFilePath(String valuesFilePath)
Set the values |
Methods inherited from TaskStepProperties
Methods inherited from java.lang.Object
Constructor Details
FileTaskStep
public FileTaskStep()
Creates an instance of FileTaskStep class.
Method Details
taskFilePath
public String taskFilePath()
Get the taskFilePath property: The task template/definition file path relative to the source context.
Returns:
validate
public void validate()
Validates the instance.
Overrides:
FileTaskStep.validate()values
public List
Get the values property: The collection of overridable values that can be passed when running a task.
Returns:
valuesFilePath
public String valuesFilePath()
Get the valuesFilePath property: The task values/parameters file path relative to the source context.
Returns:
withContextAccessToken
public FileTaskStep withContextAccessToken(String contextAccessToken)
Set the contextAccessToken property: The token (git PAT or SAS token of storage account blob) associated with the context for a step.
Overrides:
FileTaskStep.withContextAccessToken(String contextAccessToken)Parameters:
withContextPath
public FileTaskStep withContextPath(String contextPath)
Set the contextPath property: The URL(absolute or relative) of the source context for the task step.
Overrides:
FileTaskStep.withContextPath(String contextPath)Parameters:
withTaskFilePath
public FileTaskStep withTaskFilePath(String taskFilePath)
Set the taskFilePath property: The task template/definition file path relative to the source context.
Parameters:
Returns:
withValues
public FileTaskStep withValues(List
Set the values property: The collection of overridable values that can be passed when running a task.
Parameters:
Returns:
withValuesFilePath
public FileTaskStep withValuesFilePath(String valuesFilePath)
Set the valuesFilePath property: The task values/parameters file path relative to the source context.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for