public class EnablePlugin extends java.lang.Object implements RestModifyView<PluginResource,EnablePlugin.Input>
| Modifier and Type | Class and Description |
|---|---|
static class |
EnablePlugin.Input |
| Modifier and Type | Method and Description |
|---|---|
PluginInfo |
apply(PluginResource resource,
EnablePlugin.Input input)
Process the view operation by altering the resource.
|
public PluginInfo apply(PluginResource resource, EnablePlugin.Input input) throws ResourceConflictException, MethodNotAllowedException
RestModifyViewapply in interface RestModifyView<PluginResource,EnablePlugin.Input>resource - resource to modify.input - input after parsing from request.BinaryResult to avoid automatic conversion
to JSON.ResourceConflictException - the resource state does not permit this view to make the
changes at this time.MethodNotAllowedException