@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-20T00:39:28.448Z") @Stability(value=Experimental) public class TaskRuntime extends software.amazon.jsii.JsiiObject
| Modifier | Constructor and Description |
|---|---|
protected |
TaskRuntime(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
TaskRuntime(software.amazon.jsii.JsiiObjectRef objRef) |
|
TaskRuntime(String workdir) |
| Modifier and Type | Method and Description |
|---|---|
TasksManifest |
getManifest()
(experimental) The contents of tasks.json.
|
List<TaskSpec> |
getTasks()
(experimental) The tasks in this project.
|
String |
getWorkdir()
(experimental) The root directory of the project and the cwd for executing tasks.
|
void |
runTask(String name)
(experimental) Runs the task.
|
void |
runTask(String name,
List<String> parents)
(experimental) Runs the task.
|
TaskSpec |
tryFindTask(String name)
(experimental) Find a task by name, or `undefined` if not found.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected TaskRuntime(software.amazon.jsii.JsiiObjectRef objRef)
protected TaskRuntime(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public TaskRuntime(@NotNull
String workdir)
workdir - This parameter is required.@Stability(value=Experimental)
public void runTask(@NotNull
String name,
@Nullable
List<String> parents)
name - The task name. This parameter is required.parents - @Stability(value=Experimental)
public void runTask(@NotNull
String name)
name - The task name. This parameter is required.@Stability(value=Experimental) @Nullable public TaskSpec tryFindTask(@NotNull String name)
name - This parameter is required.@Stability(value=Experimental) @NotNull public TasksManifest getManifest()
@Stability(value=Experimental) @NotNull public List<TaskSpec> getTasks()
@Stability(value=Experimental) @NotNull public String getWorkdir()
Copyright © 2021. All rights reserved.