Package com.google.gerrit.server.plugins
Class Plugin
java.lang.Object
com.google.gerrit.server.plugins.Plugin
- Direct Known Subclasses:
- ServerPlugin
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic enumstatic final classUnique key that changes whenever a plugin reloads.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected com.google.gerrit.lifecycle.LifecycleManagerprotected List<ReloadableRegistrationHandle<?>> 
- 
Constructor SummaryConstructorsConstructorDescriptionPlugin(String name, Path srcPath, PluginUser pluginUser, org.eclipse.jgit.internal.storage.file.FileSnapshot snapshot, Plugin.ApiType apiType) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidadd(RegistrationHandle handle) protected abstract booleanabstract com.google.inject.InjectorOptional<com.google.inject.Module> com.google.gerrit.server.plugins.CleanupHandleabstract PluginContentScannerabstract com.google.inject.InjectorgetName()abstract com.google.inject.Injectorabstract com.google.inject.Injectorabstract StringbooleanvoidsetCleanupHandle(com.google.gerrit.server.plugins.CleanupHandle cleanupHandle) protected abstract voidprotected abstract voidtoString()
- 
Field Details- 
managerprotected com.google.gerrit.lifecycle.LifecycleManager manager
- 
reloadableHandles
 
- 
- 
Constructor Details- 
Pluginpublic Plugin(String name, Path srcPath, PluginUser pluginUser, org.eclipse.jgit.internal.storage.file.FileSnapshot snapshot, Plugin.ApiType apiType) 
 
- 
- 
Method Details- 
getCleanupHandlepublic com.google.gerrit.server.plugins.CleanupHandle getCleanupHandle()
- 
setCleanupHandlepublic void setCleanupHandle(com.google.gerrit.server.plugins.CleanupHandle cleanupHandle) 
- 
getSrcFile
- 
getName
- 
getVersion
- 
getApiType
- 
getApiVersion
- 
getCacheKey
- 
isDisabledpublic boolean isDisabled()
- 
start- Throws:
- Exception
 
- 
stop
- 
getContentScanner
- 
getSysInjectorpublic abstract com.google.inject.Injector getSysInjector()
- 
getSshInjectorpublic abstract com.google.inject.Injector getSshInjector()
- 
getHttpInjectorpublic abstract com.google.inject.Injector getHttpInjector()
- 
getApiInjectorpublic abstract com.google.inject.Injector getApiInjector()
- 
add
- 
toString
- 
canReloadprotected abstract boolean canReload()
- 
getApiModule
 
-