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 PluginInfoapply(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:RestModifyViewProcess the view operation by altering the resource.- Specified by:
applyin interfaceRestModifyView<PluginResource,Input>- Parameters:
resource- resource to modify.input- input after parsing from request.- Returns:
- result to return to the client. Use
BinaryResultto avoid automatic conversion to JSON. - Throws:
ResourceConflictException- the resource state does not permit this view to make the changes at this time.
-
-