com.atlassian.greenhopper.web.rapid.sprint
Class CreateSprintResource

java.lang.Object
  extended by com.atlassian.greenhopper.global.AbstractLoggable
      extended by com.atlassian.greenhopper.web.AbstractResource
          extended by com.atlassian.greenhopper.web.rapid.sprint.CreateSprintResource

public class CreateSprintResource
extends AbstractResource

Provides sprint creation functionality


Nested Class Summary
static class CreateSprintResource.CreateSprintModel
           
static class CreateSprintResource.CreateSprintRequest
          Data required to create a sprint
 
Field Summary
 
Fields inherited from class com.atlassian.greenhopper.web.AbstractResource
HTTP_HEADER_GREENHOPPER_GADGET
 
Fields inherited from class com.atlassian.greenhopper.global.AbstractLoggable
logger
 
Constructor Summary
CreateSprintResource()
           
 
Method Summary
 javax.ws.rs.core.Response createSprintWithIssues(CreateSprintResource.CreateSprintRequest createSprintRequest)
          Creates a new sprint given a set of issues and a name
 javax.ws.rs.core.Response getStartModel(java.lang.Long rapidViewId, java.lang.Long sprintMarkerId)
           
 
Methods inherited from class com.atlassian.greenhopper.web.AbstractResource
check, createErrorResponse, createFromServiceOutcome, createNoContentResponse, createOkResponse, createOkResponse, getUser, isGadgetRequest, nullSafe, response
 
Methods inherited from class com.atlassian.greenhopper.global.AbstractLoggable
logDebug, logError, logException, logInfo, logTrace, logWarn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateSprintResource

public CreateSprintResource()
Method Detail

getStartModel

public javax.ws.rs.core.Response getStartModel(java.lang.Long rapidViewId,
                                               java.lang.Long sprintMarkerId)

createSprintWithIssues

public javax.ws.rs.core.Response createSprintWithIssues(CreateSprintResource.CreateSprintRequest createSprintRequest)
Creates a new sprint given a set of issues and a name



Copyright © 2007-2012 Atlassian. All Rights Reserved.