Package play.db.evolutions
Class SimpleEvolutionsReader
- Object
-
- play.db.evolutions.EvolutionsReader
-
- play.db.evolutions.SimpleEvolutionsReader
-
- All Implemented Interfaces:
play.api.db.evolutions.EvolutionsReader
public class SimpleEvolutionsReader extends EvolutionsReader
A simple evolutions reader that uses a map to store evolutions
-
-
Constructor Summary
Constructors Constructor Description SimpleEvolutionsReader(Map<String,List<Evolution>> evolutions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<Evolution>getEvolutions(String db)Get the evolutions for the given database name.-
Methods inherited from class play.db.evolutions.EvolutionsReader
evolutions
-
-
-
-
Method Detail
-
getEvolutions
public Collection<Evolution> getEvolutions(String db)
Description copied from class:EvolutionsReaderGet the evolutions for the given database name.- Specified by:
getEvolutionsin classEvolutionsReader- Parameters:
db- The name of the database.- Returns:
- The collection of evolutions.
-
-