class EnvironmentEvolutionsReader extends ResourceEvolutionsReader
Read evolution files from the application environment.
- Annotations
- @Singleton()
- Source
- EvolutionsApi.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- EnvironmentEvolutionsReader
- ResourceEvolutionsReader
- EvolutionsReader
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new EnvironmentEvolutionsReader(environment: Environment)
- new EnvironmentEvolutionsReader(environment: Environment, path: String)
- new EnvironmentEvolutionsReader(environment: Environment, evolutionsConfig: EvolutionsConfig)
- Annotations
- @Inject()
Value Members
- def evolutions(db: String): Seq[Evolution]
Read the evolutions for the given db
Read the evolutions for the given db
- Definition Classes
- ResourceEvolutionsReader → EvolutionsReader
- def loadResource(db: String, revision: Int): Option[InputStream]
Load the evolutions resource for the given database and revision.
Load the evolutions resource for the given database and revision.
- returns
An InputStream to consume the resource, if such a resource exists.
- Definition Classes
- EnvironmentEvolutionsReader → ResourceEvolutionsReader