Package com.google.gerrit.server.plugins
Class EnablePlugin
- java.lang.Object
- 
- com.google.gerrit.server.plugins.EnablePlugin
 
- 
- All Implemented Interfaces:
- RestModifyView<PluginResource,EnablePlugin.Input>,- RestView<PluginResource>
 
 public class EnablePlugin extends Object implements RestModifyView<PluginResource,EnablePlugin.Input> 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classEnablePlugin.Input
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description PluginInfoapply(PluginResource resource, EnablePlugin.Input input)Process the view operation by altering the resource.
 
- 
- 
- 
Method Detail- 
applypublic PluginInfo apply(PluginResource resource, EnablePlugin.Input input) throws ResourceConflictException, MethodNotAllowedException Description copied from interface:RestModifyViewProcess the view operation by altering the resource.- Specified by:
- applyin interface- RestModifyView<PluginResource,EnablePlugin.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.
- MethodNotAllowedException
 
 
- 
 
-