Class BuildTasksRunner
Basic static class containing default implementations for BuildTask validation and running.
Inheritance
System.Object
BuildTasksRunner
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: UnityEditor.Build.Pipeline
Syntax
public static class BuildTasksRunner
Methods
Run(IList<IBuildTask>, IBuildContext)
Basic run implementation that takes a set of tasks, a context, and runs returning the build results.
Declaration
public static ReturnCode Run(IList<IBuildTask> pipeline, IBuildContext context)
Parameters
Type | Name | Description |
---|---|---|
IList<IBuildTask> | pipeline | The set of build tasks to run. |
IBuildContext | context | The build context to use for this run. |
Returns
Type | Description |
---|---|
ReturnCode | Return code with status information about success or failure causes. |
Validate(IList<IBuildTask>, IBuildContext)
Basic validate implementation that takes a set of tasks, a context, and does checks to ensure the task requirements are all satisfied.
Declaration
public static ReturnCode Validate(IList<IBuildTask> pipeline, IBuildContext context)
Parameters
Type | Name | Description |
---|---|---|
IList<IBuildTask> | pipeline | The set of build tasks to run. |
IBuildContext | context | The build context to use for this run. |
Returns
Type | Description |
---|---|
ReturnCode | Return code with status information about success or failure causes. |