UmlMetaInfoBuilder

UmlMetaInfo 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 buildUmlMetaInfo instead.

Properties

Link copied to clipboard
abstract override var umlLabel: String?

Will be mapped to "long name" for IState, and a "label" for Transition Default: null

Link copied to clipboard
abstract override var umlNotes: List<String>

For IState translated to "note right of". For Transition translated to "note on link" (supports only one note). Mermaid does not support this, so it will not take any effect. Default: emptyList()

Link copied to clipboard
abstract override var umlStateDescriptions: List<String>

Add description lines for IState Does not have effect for Transition Default: emptyList()

Functions

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

Helper method for getting MetaInfo of specified type