uk.gov.hmrc.play

# fsm

#### package fsm

Visibility

1. Public
2. All

### Type Members

1. #### trait JourneyController extends AnyRef

   Base controller for journeys based on Finite State Machine.

   Base controller for journeys based on Finite State Machine.

   Provides 2 extension points:

   - getCallFor: what is the endpoint representing given state
   - renderState: how to render given state

   and few action creation helpers:

   - action
   - authorised
   - authorisedWithForm
   - authorisedWithBootstrapAndForm
   - authorisedShowCurrentStateWhen

2. #### trait JourneyModel extends AnyRef

   JourneyModel is an abstract base of process logic definition in terms of Finite State Machine pattern.

   JourneyModel is an abstract base of process logic definition in terms of Finite State Machine pattern.

   See also

     https://brilliant.org/wiki/finite-state-machines/

3. #### trait JourneyService extends AnyRef

   JourneyService is an abstract base of components exposing journey to the application (controller)

4. #### trait JsonStateFormats[State] extends AnyRef

   Utility to generate Play JSON Format for multi-value State

   Utility to generate Play JSON Format for multi-value State

   State

     state values base type

5. #### trait PersistentJourneyService extends JourneyService

### Value Members

1. #### object OptionalFormOps

### Ungrouped