ecto_fsm v0.2.0 Ecto.FSM.Machine.State protocol View Source
Defines a protocol for get / set state name from a structure.
Link to this section Summary
Functions
Retrieve current state handlers from state object, return [Handler1,Handler2]
Set new state name
Retrieve current state name from state object
Link to this section Types
Link to this type
name()
View Source
name()
View Source
name() :: Ecto.FSM.State.name()
name() :: Ecto.FSM.State.name()
Link to this type
t()
View Source
t()
View Source
t() :: term()
t() :: term()
Link to this section Functions
Link to this function
handlers(state) View Source
Retrieve current state handlers from state object, return [Handler1,Handler2]
Link to this function
set_state_name(state, name) View Source
Set new state name
Link to this function
state_name(state) View Source
Retrieve current state name from state object