Class RunStepResult | Entities | 0.2.0-preview.18
docs.unity3d.com
    Show / Hide Table of Contents

    Class RunStepResult

    Holds the result of the execution of a IRunStep.

    Inheritance
    Object
    RunStepResult
    Namespace: Unity.Build
    Syntax
    public class RunStepResult : IDisposable

    Properties

    BuildSettings

    The BuildSettings used to run this IRunStep.

    Declaration
    public BuildSettings BuildSettings { get; }
    Property Value
    Type Description
    BuildSettings

    Failed

    Determine if the execution of the IRunStep failed.

    Declaration
    public bool Failed { get; }
    Property Value
    Type Description
    Boolean

    Message

    The message resulting from the execution of this IRunStep.

    Declaration
    public string Message { get; }
    Property Value
    Type Description
    String

    RunInstance

    The running process resulting from running the IRunStep.

    Declaration
    public IRunInstance RunInstance { get; }
    Property Value
    Type Description
    IRunInstance

    RunStep

    The IRunStep that was executed.

    Declaration
    public IRunStep RunStep { get; }
    Property Value
    Type Description
    IRunStep

    Succeeded

    Determine if the execution of the IRunStep succeeded.

    Declaration
    public bool Succeeded { get; }
    Property Value
    Type Description
    Boolean

    Methods

    Dispose()

    Declaration
    public void Dispose()

    Failure(BuildSettings, IRunStep, String)

    Create a new instance of RunStepResult that represent a failed execution.

    Declaration
    public static RunStepResult Failure(BuildSettings settings, IRunStep step, string message)
    Parameters
    Type Name Description
    BuildSettings settings

    The BuildSettings used by the IRunStep.

    IRunStep step

    The IRunStep that was executed.

    String message

    The failure message.

    Returns
    Type Description
    RunStepResult

    A new RunStepResult instance.

    LogResult()

    Declaration
    public void LogResult()

    Success(BuildSettings, IRunStep, IRunInstance)

    Create a new instance of RunStepResult that represent a successful execution.

    Declaration
    public static RunStepResult Success(BuildSettings settings, IRunStep step, IRunInstance instance)
    Parameters
    Type Name Description
    BuildSettings settings

    The BuildSettings used by the IRunStep.

    IRunStep step

    The IRunStep that was executed.

    IRunInstance instance

    The IRunInstance resulting from running this IRunStep.

    Returns
    Type Description
    RunStepResult

    A new RunStepResult instance.

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    String
    Overrides
    Object.ToString()

    Operators

    Implicit(RunStepResult to Boolean)

    Implicit conversion to Boolean.

    Declaration
    public static implicit operator bool (RunStepResult result)
    Parameters
    Type Name Description
    RunStepResult result

    Instance of RunStepResult.

    Returns
    Type Description
    Boolean
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023