public class GarbageCollect extends java.lang.Object implements RestModifyView<ProjectResource,GarbageCollect.Input>, UiAction<ProjectResource>
| Modifier and Type | Class and Description |
|---|---|
static class |
GarbageCollect.Input |
UiAction.Description| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
apply(ProjectResource rsrc,
GarbageCollect.Input input)
Process the view operation by altering the resource.
|
UiAction.Description |
getDescription(ProjectResource rsrc)
Get the description of the action customized for the resource.
|
public java.lang.Object apply(ProjectResource rsrc, GarbageCollect.Input input)
RestModifyViewapply in interface RestModifyView<ProjectResource,GarbageCollect.Input>rsrc - resource to modify.input - input after parsing from request.BinaryResult to avoid automatic conversion
to JSON.public UiAction.Description getDescription(ProjectResource rsrc)
UiActiongetDescription in interface UiAction<ProjectResource>rsrc - the resource the view would act upon if the action is invoked by the client.
Information from the resource can be used to customize the description.id and method
properties. If null the action will assumed unavailable and not presented. This is usually
the same as setVisible(false).