| Modifier and Type | Interface and Description |
|---|---|
interface |
Mergeable<N extends Node>
Defines the method to be implemented by
classes interested in merging its current
state (i.e.
|
class |
Transition<N extends Node,M extends Message>
A generic contract allowing to identify
the target destination after processing
the message.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractNode
Represents an arbitrary node of a given directed graph
|
| Modifier and Type | Field and Description |
|---|---|
protected N |
Transition.origin
The source node of the transition
|
protected N |
Transition.target
The target node of the transition
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
Exporter<R,N extends Node,M extends Message,T extends Transitioner<N,M,? extends Transition<N,M>>>
Defines the methods to export a
Transitioner to
a given result type. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
Importer<I,N extends Node,M extends Message,T extends Transitioner<N,M,? extends Transition<N,M>>>
Defines the methods to import a
Transitioner from
a given input source. |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractEnvelope<N extends Node,M extends Message>
Base class for
Envelope implementors. |
interface |
Envelope<N extends Node,M extends Message>
This interface allows wrapping a message with the source/target information
in order to be transmitted to interested parties (e.g.
|
| Modifier and Type | Field and Description |
|---|---|
protected N |
AbstractEnvelope.origin
The source node
|
protected N |
AbstractEnvelope.target |
| Modifier and Type | Interface and Description |
|---|---|
interface |
TransitionChecker<N extends Node,M extends Message>
The transition checker acts a validator that is used
by a given State Machine to allow/deny a given transition.
|
interface |
Transitioner<N extends Node,M extends Message,T extends Transition<N,M>>
An interface for defining methods common to entities
handling transitions between nodes.
|
interface |
TransitionIndex<N extends Node,M extends Message,T extends Transition<N,M>>
An index allowing to store and fetch defined transitions.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
TransitionValidator<N extends Node,M extends Message,T extends Transition<N,M>>
The transition validator verifies operations
involved in transition management with respect to a given
index.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractFilteredState
Base class for all Message filter state decorators
|
class |
AbstractWrappedState
This class is intended to contain the actual State
instance in order to be stored in a state machine.
|
class |
FilteredState
A decorator adding message filtering functionality
to regular states.
|
class |
State
The default implementation of the state.
|
Copyright © 2019 state-machine. All rights reserved.