public class InstallPlugin extends java.lang.Object implements RestModifyView<TopLevelResource,InstallPluginInput>
| Modifier and Type | Method and Description |
|---|---|
Response<PluginInfo> |
apply(TopLevelResource resource,
InstallPluginInput input)
Process the view operation by altering the resource.
|
InstallPlugin |
setCreated(boolean created) |
InstallPlugin |
setName(java.lang.String name) |
public InstallPlugin setName(java.lang.String name)
public InstallPlugin setCreated(boolean created)
public Response<PluginInfo> apply(TopLevelResource resource, InstallPluginInput input) throws BadRequestException, MethodNotAllowedException, java.io.IOException
RestModifyViewapply in interface RestModifyView<TopLevelResource,InstallPluginInput>resource - resource to modify.input - input after parsing from request.BinaryResult to avoid automatic conversion
to JSON.BadRequestException - the request was incorrectly specified and cannot be handled by this
view.MethodNotAllowedExceptionjava.io.IOException