public interface RestGlobalVariableService
| Modifier and Type | Method and Description |
|---|---|
RestGlobalVariable |
createGlobalVariable(javax.ws.rs.core.UriInfo uriInfo,
RestGlobalVariable restGlobalVariable)
Create a global variable
|
void |
deleteGlobalVariable(javax.ws.rs.core.UriInfo uriInfo,
long variableId)
Delete a global variable
|
RestGlobalVariable |
getGlobalVariable(javax.ws.rs.core.UriInfo uriInfo,
long variableId)
Retrieve a global variable definition
|
RestGlobalVariables |
getGlobalVariables(javax.ws.rs.core.UriInfo uriInfo)
Retrieve all global variables and values on bamboo server
Password variables will be encrypted using salted hash.
|
RestGlobalVariable |
updateGlobalVariable(javax.ws.rs.core.UriInfo uriInfo,
long variableId,
RestGlobalVariable restGlobalVariable)
Update a global variable
|
RestGlobalVariables getGlobalVariables(javax.ws.rs.core.UriInfo uriInfo)
uriInfo - Object that provides access to information of http requestfor how encryption is performedRestGlobalVariable getGlobalVariable(javax.ws.rs.core.UriInfo uriInfo, long variableId)
uriInfo - Object that provides access to information of httpvariableId - id fo the variableRestGlobalVariable createGlobalVariable(javax.ws.rs.core.UriInfo uriInfo, RestGlobalVariable restGlobalVariable) throws WebValidationException
uriInfo - Object that provides access to information of http requestrestGlobalVariable - The global variable to be createdWebValidationException - If some parameter is illegal, e.g. empty variable name, illegal characters in variable name, etc.void deleteGlobalVariable(javax.ws.rs.core.UriInfo uriInfo,
long variableId)
uriInfo - Object that provides access to information of http requestvariableId - Id of the variable to be removedRestGlobalVariable updateGlobalVariable(javax.ws.rs.core.UriInfo uriInfo, long variableId, RestGlobalVariable restGlobalVariable) throws WebValidationException
uriInfo - Object that provides access to information of http requestvariableId - Id of the variable to be updatedrestGlobalVariable - New name/value of the global variableWebValidationException - If the name/value is invalid, e.g. exceeds max value lengthCopyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.