@Controller @RequestMapping(value="/updates") public class UpdateActionResource extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
UpdateActionResource.Result |
| Constructor and Description |
|---|
UpdateActionResource() |
| Modifier and Type | Method and Description |
|---|---|
void |
applyPlugin(String project,
String version) |
void |
cancel(String project) |
void |
check(String project) |
void |
confirm(String project,
Date when) |
Changelog |
getChangelog(String project) |
void |
rollback(String project,
Rollback rollback) |
UpdateActionResource.Result |
upload(String project,
org.springframework.web.multipart.MultipartFile file) |
@RequestMapping(value="/{project}/apply",
method=POST)
@ResponseBody
public void applyPlugin(@PathVariable
String project,
@RequestParam
String version)
@RequestMapping(value="/{project}/apply/confirm",
method=POST)
@ResponseBody
public void confirm(@PathVariable
String project,
@RequestParam(required=false)
Date when)
@RequestMapping(value="/{project}/cancel",
method=POST)
@ResponseBody
public void cancel(@PathVariable
String project)
@RequestMapping(value="/{project}/check",
method=POST)
@ResponseBody
public void check(@PathVariable
String project)
@RequestMapping(value="/{project}/rollback",
method=POST)
@ResponseBody
public void rollback(@PathVariable
String project,
@RequestBody
Rollback rollback)
@RequestMapping(value="/{project}/changelog",
method=GET)
@ResponseBody
public Changelog getChangelog(@PathVariable
String project)
@RequestMapping(value="/{project}/upload",
method=POST)
@ResponseBody
public UpdateActionResource.Result upload(@PathVariable
String project,
@RequestParam(value="file")
org.springframework.web.multipart.MultipartFile file)
Copyright © 2025 Suncode. All rights reserved.