Package com.google.gerrit.server.schema
Class SchemaVersionCheck
- java.lang.Object
- 
- com.google.gerrit.server.schema.SchemaVersionCheck
 
- 
- All Implemented Interfaces:
- LifecycleListener,- EventListener
 
 public class SchemaVersionCheck extends Object implements LifecycleListener Validates the current schema version.
- 
- 
Constructor SummaryConstructors Constructor Description SchemaVersionCheck(com.google.gwtorm.server.SchemaFactory<ReviewDb> schemaFactory, SitePaths site)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static com.google.inject.Modulemodule()voidstart()Invoked when the server is starting.voidstop()Invoked when the server is stopping.
 
- 
- 
- 
Method Detail- 
modulepublic static com.google.inject.Module module() 
 - 
startpublic void start() Description copied from interface:LifecycleListenerInvoked when the server is starting.- Specified by:
- startin interface- LifecycleListener
 
 - 
stoppublic void stop() Description copied from interface:LifecycleListenerInvoked when the server is stopping.- Specified by:
- stopin interface- LifecycleListener
 
 
- 
 
-