Class VersionResource
java.lang.Object
com.atlassian.greenhopper.web.AbstractResource
com.atlassian.greenhopper.web.rapid.version.VersionResource
@Path("versions")
@Produces("application/json")
@Consumes("application/json")
public class VersionResource
extends AbstractResource
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class com.atlassian.greenhopper.web.AbstractResource
authenticationContext, log
-
Constructor Summary
ConstructorsConstructorDescriptionVersionResource
(VersionService versionService, com.atlassian.jira.project.ProjectManager projectManager, com.atlassian.jira.datetime.DateTimeFormatter dateTimeFormatterFactory, com.atlassian.jira.util.DateFieldFormat dateFieldFormat, VersionPermissionService versionPermissionService) -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
create
(VersionResource.VersionModel versionModel) javax.ws.rs.core.Response
update
(Long versionId, VersionResource.VersionModel versionModel) Methods inherited from class com.atlassian.greenhopper.web.AbstractResource
check, checkResult, createNoContentResponse, createOkResponse, createOkResponse, getUser, isGadgetRequest, nullSafe, response, responseWithoutAccessCheck
-
Constructor Details
-
VersionResource
@Inject public VersionResource(VersionService versionService, com.atlassian.jira.project.ProjectManager projectManager, com.atlassian.jira.datetime.DateTimeFormatter dateTimeFormatterFactory, com.atlassian.jira.util.DateFieldFormat dateFieldFormat, VersionPermissionService versionPermissionService)
-
-
Method Details
-
create
-
update
@POST @Path("{versionId}") public javax.ws.rs.core.Response update(@PathParam("versionId") Long versionId, VersionResource.VersionModel versionModel)
-