@Path(value="planDirectoryInfo") @Consumes(value="application/json") @Produces(value="application/json") public class PlanDirectoryInformationResource extends Object
Constructor and Description |
---|
PlanDirectoryInformationResource(CachedPlanManager planManager,
com.atlassian.event.api.EventPublisher eventPublisher,
InputParser inputParser) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
getPlanDirectory(String strPlanKey,
com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext,
javax.servlet.http.HttpServletRequest request)
Provides the directories where artifacts and build logs can be found for a given plan key
|
public PlanDirectoryInformationResource(CachedPlanManager planManager, com.atlassian.event.api.EventPublisher eventPublisher, InputParser inputParser)
@GET @Path(value="{planKey}") public javax.ws.rs.core.Response getPlanDirectory(@PathParam(value="planKey") String strPlanKey, @Context com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext, @Context javax.servlet.http.HttpServletRequest request) throws UnknownHostException
strPlanKey
- the plan key to retrieve directory information for. Can be a top-level key (i.e. 'PROJ-PLAN')
or a branch key (i.e. 'PROJ-PLAN15')UnknownHostException
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.