Class RemoteAgentConfigurationResource
java.lang.Object
com.atlassian.bamboo.plugins.rest.admin.agent.RemoteAgentConfigurationResource
@Path("/config/remoteAgentSupport")
@Produces("application/json")
@Consumes("application/json")
public class RemoteAgentConfigurationResource
extends Object
Rest resource for configuring remote agent support
- Since:
- 5.10
-
Constructor Summary
ConstructorDescriptionRemoteAgentConfigurationResource
(FeatureManager featureManager, com.atlassian.sal.api.message.I18nResolver i18nResolver, RemoteAgentConfigurationConversionFunction function, RemoteAgentManager remoteAgentManager, RestHelperWrapper restHelperWrapper) -
Method Summary
Modifier and TypeMethodDescriptiongetRemoteAgentConfiguration
(@NotNull ExpansionParam expansion, @NotNull javax.ws.rs.core.UriInfo uriInfo) updateRemoteAgentConfiguration
(RestRemoteAgentConfiguration restRemoteAgentConfiguration, @NotNull ExpansionParam expansion, @NotNull javax.ws.rs.core.UriInfo uriInfo)
-
Constructor Details
-
RemoteAgentConfigurationResource
@Inject public RemoteAgentConfigurationResource(FeatureManager featureManager, com.atlassian.sal.api.message.I18nResolver i18nResolver, RemoteAgentConfigurationConversionFunction function, RemoteAgentManager remoteAgentManager, RestHelperWrapper restHelperWrapper)
-
-
Method Details
-
getRemoteAgentConfiguration
@GET public RestRemoteAgentConfiguration getRemoteAgentConfiguration(@NotNull @BeanParam @NotNull ExpansionParam expansion, @NotNull @Context @NotNull javax.ws.rs.core.UriInfo uriInfo) throws UnauthorisedException - Throws:
UnauthorisedException
-
updateRemoteAgentConfiguration
@PUT public RestRemoteAgentConfiguration updateRemoteAgentConfiguration(RestRemoteAgentConfiguration restRemoteAgentConfiguration, @NotNull @BeanParam @NotNull ExpansionParam expansion, @NotNull @Context @NotNull javax.ws.rs.core.UriInfo uriInfo) throws Exception - Throws:
Exception
-