public class RemoteAgentConfigurationResource extends Object
Constructor and Description |
---|
RemoteAgentConfigurationResource(FeatureManager featureManager,
com.atlassian.sal.api.message.I18nResolver i18nResolver,
RemoteAgentConfigurationConversionFunction function,
RemoteAgentManager remoteAgentManager,
RestHelperWrapper restHelperWrapper) |
Modifier and Type | Method and Description |
---|---|
RestRemoteAgentConfiguration |
getRemoteAgentConfiguration(Expansion expansion,
javax.ws.rs.core.UriInfo uriInfo)
The REST endpoint to retrieve the remote agent configuration
|
RestRemoteAgentConfiguration |
updateRemoteAgentConfiguration(RestRemoteAgentConfiguration restRemoteAgentConfiguration,
Expansion expansion,
javax.ws.rs.core.UriInfo uriInfo)
The REST endpoint to update the remote agent configuration
|
public RemoteAgentConfigurationResource(FeatureManager featureManager, com.atlassian.sal.api.message.I18nResolver i18nResolver, RemoteAgentConfigurationConversionFunction function, RemoteAgentManager remoteAgentManager, RestHelperWrapper restHelperWrapper)
public RestRemoteAgentConfiguration getRemoteAgentConfiguration(@NotNull @Context Expansion expansion, @NotNull @Context javax.ws.rs.core.UriInfo uriInfo) throws UnauthorisedException
RestRemoteAgentConfiguration
UnauthorisedException
- if user lacks restricted admin permissionspublic RestRemoteAgentConfiguration updateRemoteAgentConfiguration(RestRemoteAgentConfiguration restRemoteAgentConfiguration, @NotNull @Context Expansion expansion, @NotNull @Context javax.ws.rs.core.UriInfo uriInfo) throws Exception, UnauthorisedException
restRemoteAgentConfiguration
- Configuration to be updatedUnauthorisedException
- if user lacks restricted admin permissionsException
- if there was an error in changing the remote agent supportCopyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.