ExportMetaInfoBuilder

ExportMetaInfo Implementation is separated from its interface as a user may combine multiple MetaInfo interfaces into one object. Data class should not be exposed to public APIs due to binary compatibility, users should use buildExportMetaInfo instead.

Properties

Link copied to clipboard

Default: emptySet()

Functions

Link copied to clipboard
abstract fun addEventAndArgumentResolutionHint(description: String, event: Event, argument: Any? = null)

See EventAndArgumentResolutionHint

Link copied to clipboard
abstract fun addLazyParallelStatesResolutionHint(description: String, targetStates: Set<Lazy<IState>>)

Allows to specify parallel states as lazy values. Lazy initializer should not be used to dynamically calculate state. Use it only to delay state's variable access. See StateResolutionHint

Link copied to clipboard
abstract fun addLazyStateResolutionHint(description: String, targetState: Lazy<IState>)

Allows to specify state as lazy value. Lazy initializer should not be used to dynamically calculate a state. Use it only to delay state's variable access. See StateResolutionHint

Link copied to clipboard
abstract fun addParallelStatesResolutionHint(description: String, targetStates: Set<IState>)

See StateResolutionHint

Link copied to clipboard
abstract fun addStateResolutionHint(description: String, targetState: IState)

See StateResolutionHint

Link copied to clipboard
inline fun <M : MetaInfo> MetaInfo?.findMetaInfo(): M?

Helper method for getting MetaInfo of specified type