@Singleton public class CloneResource extends Object
Constructor and Description |
---|
CloneResource(ChainCreationService chainCreationService,
com.atlassian.sal.api.message.I18nResolver i18nResolver,
PlanRestService planRestService) |
Modifier and Type | Method and Description |
---|---|
RestPlan |
getClone(String fromProjectKey,
String fromBuildKey,
String toProjectKey,
String toBuildKey,
javax.ws.rs.core.UriInfo uriInfo)
Method used to
|
public CloneResource(ChainCreationService chainCreationService, com.atlassian.sal.api.message.I18nResolver i18nResolver, PlanRestService planRestService)
public RestPlan getClone(String fromProjectKey, String fromBuildKey, String toProjectKey, String toBuildKey, @Context javax.ws.rs.core.UriInfo uriInfo)
fromProjectKey,
- fromBuildKey - form a PlanKey of the source plan to be clonedtoProjectKey,
- toBuildKey - form a PlanKey of the newly cloned planuriInfo
- RestPlan
, or throws InvalidRequestExceptionInvalidRequestException
- when:
tCopyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.