Home Reference Source
import AbstractTransitionFactory from 'starting-blocks/src/abstracts/AbstractTransitionFactory.js'
public class | source

AbstractTransitionFactory

Extends:

AbstractService → AbstractTransitionFactory

Abstract Transition mapper class.

This class maps your data-transition with your ES6 classes.

You must define your own ClassFactory for each of your projects..

Method Summary

Public Methods
public abstract

getTransition(previousState: Object, state: Object): AbstractTransition

Get Transition

Inherited Summary

From class AbstractService
public
public
public

checkDependencies(dependencies: *[])

public

getService(serviceName: *): *

public

hasService(serviceName: *): *

public

init()

Public Methods

public abstract getTransition(previousState: Object, state: Object): AbstractTransition source

Get Transition

Params:

NameTypeAttributeDescription
previousState Object
state Object