CoRegionBuilder<S extends State> class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
pageBreak
→ void
-
Places a page break into the export file rendering all nested
states on a new page.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
build()
→ StateDefinition<State>
-
inherited
-
coregion<CO extends State>(BuildCoRegion<CO> buildState)
→ void
-
Adds a coregion State definition as per the UML2
specification for
orthogonal regions
.
inherited
-
initialState<I extends State>()
→ void
-
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
on<E extends Event, TOSTATE extends State>({GuardCondition<E> condition = noopGuardCondition, SideEffect<E>? sideEffect, String? conditionLabel, String? sideEffectLabel})
→ void
-
Statically declares a transition that will occur when Event of type
E
is sent to machine via StateMachine.applyEvent method.
inherited
-
onEnter(OnEnter onEnter, {String? label})
→ void
-
Sets callback that will be called right after machine enters this State.
inherited
-
onExit(OnExit onExit, {String? label})
→ void
-
Sets callback that will be called right before machine exits this State.
inherited
-
onFork<E extends Event>(BuildFork<E> buildFork, {GuardCondition<E> condition = noopGuardCondition, SideEffect<E>? sideEffect, String? conditionLabel, String? sideEffectLabel})
→ void
-
Used to enter a co-region by targeting the set of states within the
coregion to transition to.
inherited
-
onJoin<E extends Event, TOSTATE extends State>({GuardCondition<E> condition = noopGuardCondition, SideEffect<Event>? sideEffect})
→ void
-
Adds an event to the set of events that must be triggered to leave
the ownercoregion.
Every onJoin in a coregion must target the same external state.
inherited
-
state<C extends State>(BuildState<C> buildState)
→ void
-
Adds a nested State definition as per the UML2
specification for
hierarchically nested states
.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited