RSDTaskInfoStepObject

public struct RSDTaskInfoStepObject : RSDTaskInfoStep

RSDTaskInfoStepObject is a concrete implementation of the RSDTaskInfoStep protocol.

  • Returns the task info identifier.

    Declaration

    Swift

    public var identifier: String { get }
  • For the task info step, the task info

    Declaration

    Swift

    public let taskInfo: RSDTaskInfo
  • The type of the step.

    Declaration

    Swift

    public let stepType: RSDStepType
  • Default initializer.

    Declaration

    Swift

    public init(with taskInfo: RSDTaskInfo, stepType: RSDStepType = .taskInfo)

    Parameters

    identifier

    A short string that uniquely identifies the step.

  • Copy the step to a new instance with the given identifier, but otherwise, equal.

    Declaration

    Swift

    public func copy(with identifier: String) -> RSDTaskInfoStepObject

    Parameters

    identifier

    The new identifier.

  • Instantiate a step result that is appropriate for this step.

    Declaration

    Swift

    public func instantiateStepResult() -> RSDResult

    Return Value

    RSDTaskResultObject with the identifier from this task reference.

  • Required method for the RSDStep protocol. No validation for this step.

    Declaration

    Swift

    public func validate() throws