@Path(value="/projects/p/{projectSlug:[a-zA-Z0-9]+([a-zA-Z0-9_\\-{.}]*[a-zA-Z0-9]+)?}/iterations/i/{iterationSlug:[a-zA-Z0-9]+([a-zA-Z0-9_\\-{.}]*[a-zA-Z0-9]+)?}") public class MockProjectIterationResource extends Object implements ProjectIterationResource
ITERATION_SLUG_TEMPLATE, SERVICE_PATH
Constructor and Description |
---|
MockProjectIterationResource() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
get()
Returns data for a single Project iteration.
|
javax.ws.rs.core.Response |
head()
Returns header information for a project iteration.
|
javax.ws.rs.core.Response |
put(ProjectIteration project)
Creates or modifies a Project iteration.
|
javax.ws.rs.core.Response |
sampleConfiguration()
Get a project iteration's sample general configuration file(zanata.xml).
|
public javax.ws.rs.core.Response head()
ProjectIterationResource
head
in interface ProjectIterationResource
public javax.ws.rs.core.Response get()
ProjectIterationResource
get
in interface ProjectIterationResource
public javax.ws.rs.core.Response put(ProjectIteration project)
ProjectIterationResource
put
in interface ProjectIterationResource
public javax.ws.rs.core.Response sampleConfiguration()
ProjectIterationResource
sampleConfiguration
in interface ProjectIterationResource
Copyright © 2017 Zanata Project. All rights reserved.