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 Summary
Constructors Constructor Description SchemaVersionCheck(com.google.gwtorm.server.SchemaFactory<ReviewDb> schemaFactory, SitePaths site)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static com.google.inject.Module
module()
void
start()
Invoked when the server is starting.void
stop()
Invoked when the server is stopping.
-
-
-
Method Detail
-
module
public static com.google.inject.Module module()
-
start
public void start()
Description copied from interface:LifecycleListener
Invoked when the server is starting.- Specified by:
start
in interfaceLifecycleListener
-
stop
public void stop()
Description copied from interface:LifecycleListener
Invoked when the server is stopping.- Specified by:
stop
in interfaceLifecycleListener
-
-