Package com.google.gerrit.server.plugins
Class ReloadPlugin
- java.lang.Object
-
- com.google.gerrit.server.plugins.ReloadPlugin
-
- All Implemented Interfaces:
RestModifyView<PluginResource,Input>
,RestView<PluginResource>
public class ReloadPlugin extends Object implements RestModifyView<PluginResource,Input>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PluginInfo
apply(PluginResource resource, Input input)
Process the view operation by altering the resource.
-
-
-
Method Detail
-
apply
public PluginInfo apply(PluginResource resource, Input input) throws ResourceConflictException
Description copied from interface:RestModifyView
Process the view operation by altering the resource.- Specified by:
apply
in interfaceRestModifyView<PluginResource,Input>
- Parameters:
resource
- resource to modify.input
- input after parsing from request.- Returns:
- result to return to the client. Use
BinaryResult
to avoid automatic conversion to JSON. - Throws:
ResourceConflictException
- the resource state does not permit this view to make the changes at this time.
-
-