Package com.google.gerrit.server.plugins
Interface ModuleGenerator
-
- All Known Implementing Classes:
ModuleGenerator.NOP
public interface ModuleGenerator
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classModuleGenerator.NOP
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.inject.Modulecreate()voidexport(Export export, Class<?> type)voidlisten(com.google.inject.TypeLiteral<?> tl, Class<?> clazz)voidsetPluginName(String name)
-
-
-
Method Detail
-
setPluginName
void setPluginName(String name)
-
export
void export(Export export, Class<?> type) throws InvalidPluginException
- Throws:
InvalidPluginException
-
listen
void listen(com.google.inject.TypeLiteral<?> tl, Class<?> clazz)
-
create
com.google.inject.Module create() throws InvalidPluginException- Throws:
InvalidPluginException
-
-