Package com.google.gerrit.server.change
Interface ChangeAttributeFactory
-
@Deprecated public interface ChangeAttributeFactory
Deprecated.Interface for plugins to provide additional fields inChangeInfo
.Register a
ChangeAttributeFactory
in a pluginModule
like this:DynamicSet.bind(binder(), ChangeAttributeFactory.class).to(YourClass.class);
See the plugin developer documentation for more details and examples.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description PluginDefinedInfo
create(ChangeData cd, DynamicOptions.BeanProvider beanProvider, String plugin)
Deprecated.Create a plugin-provided info field.
-
-
-
Method Detail
-
create
PluginDefinedInfo create(ChangeData cd, DynamicOptions.BeanProvider beanProvider, String plugin)
Deprecated.Create a plugin-provided info field.Typically, implementations will subclass
PluginDefinedInfo
to add additional fields.- Parameters:
cd
- change.beanProvider
- provider ofDynamicBean
s, which may be used for reading options.plugin
- plugin name.- Returns:
- the plugin's special change info.
-
-