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
identifierA 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) -> RSDTaskInfoStepObjectParameters
identifierThe new identifier.
-
Instantiate a step result that is appropriate for this step.
Declaration
Swift
public func instantiateStepResult() -> RSDResultReturn Value
RSDTaskResultObjectwith theidentifierfrom this task reference. -
Required method for the
RSDStepprotocol. No validation for this step.Declaration
Swift
public func validate() throws
View on GitHub
RSDTaskInfoStepObject Structure Reference