Class GlobalVariableResource
- java.lang.Object
-
- com.atlassian.bamboo.plugins.rest.admin.globalvariable.GlobalVariableResource
-
public class GlobalVariableResource extends Object
REST endpoint to manage bamboo global variables- Since:
- 5.9
-
-
Constructor Summary
Constructors Constructor Description GlobalVariableResource(RestGlobalVariableService restGlobalVariableService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
createGlobalVariable(javax.ws.rs.core.UriInfo uriInfo, RestGlobalVariable restGlobalVariable)
javax.ws.rs.core.Response
deleteGlobalVariable(javax.ws.rs.core.UriInfo uriInfo, long variableId)
RestGlobalVariable
getGlobalVariable(javax.ws.rs.core.UriInfo uriInfo, long variableId)
RestGlobalVariables
getGlobalVariables(javax.ws.rs.core.UriInfo uriInfo)
RestGlobalVariable
updateGlobalVariable(javax.ws.rs.core.UriInfo uriInfo, long variableId, RestGlobalVariable restGlobalVariable)
javax.ws.rs.core.Response
verifyGlobalVariableValue(RestVerificationRequest request)
-
-
-
Constructor Detail
-
GlobalVariableResource
@Inject public GlobalVariableResource(RestGlobalVariableService restGlobalVariableService)
-
-
Method Detail
-
getGlobalVariables
public RestGlobalVariables getGlobalVariables(@Context javax.ws.rs.core.UriInfo uriInfo)
-
getGlobalVariable
public RestGlobalVariable getGlobalVariable(@Context javax.ws.rs.core.UriInfo uriInfo, long variableId)
-
createGlobalVariable
public javax.ws.rs.core.Response createGlobalVariable(@Context javax.ws.rs.core.UriInfo uriInfo, RestGlobalVariable restGlobalVariable) throws WebValidationException
- Throws:
WebValidationException
-
deleteGlobalVariable
public javax.ws.rs.core.Response deleteGlobalVariable(@Context javax.ws.rs.core.UriInfo uriInfo, long variableId)
-
updateGlobalVariable
public RestGlobalVariable updateGlobalVariable(@Context javax.ws.rs.core.UriInfo uriInfo, long variableId, RestGlobalVariable restGlobalVariable) throws WebValidationException
- Throws:
WebValidationException
-
verifyGlobalVariableValue
public javax.ws.rs.core.Response verifyGlobalVariableValue(RestVerificationRequest request)
-
-