PerformPhase

class PerformPhase<E : CPGEventResource<*>>(repository: Repository, e: E) : Phase.EventPhase<E>

Provides implementation of the perform phase of the activity flow. See general-activity-flow for more info.

Constructors

Link copied to clipboard
constructor(repository: Repository, e: E)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun complete(): Result<Unit>
Link copied to clipboard
open override fun enteredInError(reason: String?): Result<Unit>
Link copied to clipboard
open override fun getEventResource(): E
Link copied to clipboard
open override fun getPhaseName(): Phase.PhaseName
Link copied to clipboard
open override fun notDone(reason: String?): Result<Unit>
Link copied to clipboard
open override fun resume(): Result<Unit>
Link copied to clipboard
open override fun start(): Result<Unit>
Link copied to clipboard
open override fun stop(reason: String?): Result<Unit>
Link copied to clipboard
open override fun suspend(reason: String?): Result<Unit>
Link copied to clipboard
open override fun update(e: E): Result<Unit>