Class GlobalVariablesResource
java.lang.Object
com.atlassian.bamboo.plugins.testutils.rest.resource.administration.GlobalVariablesResource
@Path("administration/variables")
@Consumes("application/json")
@Produces("application/json")
@Singleton
public class GlobalVariablesResource
extends Object
-
Constructor Summary
ConstructorDescriptionGlobalVariablesResource
(VariableConfigurationService variableConfigurationService, VariableDefinitionManager variableDefinitionManager) -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
createGlobalVariable
(RestVariableDefinition restVariableDefinition) javax.ws.rs.core.Response
javax.ws.rs.core.Response
javax.ws.rs.core.Response
getGlobalVariable
(String key)
-
Constructor Details
-
GlobalVariablesResource
@Inject public GlobalVariablesResource(VariableConfigurationService variableConfigurationService, VariableDefinitionManager variableDefinitionManager)
-
-
Method Details
-
getAllGlobalVariables
@GET public javax.ws.rs.core.Response getAllGlobalVariables() -
createGlobalVariable
@POST public javax.ws.rs.core.Response createGlobalVariable(RestVariableDefinition restVariableDefinition) -
getGlobalVariable
@GET @Path("{key}") public javax.ws.rs.core.Response getGlobalVariable(@PathParam("key") String key) -
deleteGlobalVariable
@DELETE @Path("{key}") public javax.ws.rs.core.Response deleteGlobalVariable(@PathParam("key") String key)
-