Class EphemeralAgentsConfigurationResource
java.lang.Object
com.atlassian.bamboo.plugins.rest.admin.ephemeral.EphemeralAgentsConfigurationResource
@Path("ephemeral/config")
@Produces("application/json")
@Consumes("application/json")
public class EphemeralAgentsConfigurationResource
extends Object
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Constructor Summary
ConstructorDescriptionEphemeralAgentsConfigurationResource
(EphemeralAgentsService ephemeralAgentsService, com.atlassian.sal.api.message.I18nResolver i18nResolver, RestPermissionCheck restPermissionCheck) -
Method Summary
Modifier and TypeMethodDescriptionsaveConfiguration
(@Nullable EphemeralAgentsConfigurationDTO dto) javax.ws.rs.core.Response
testConnection
(@Nullable EphemeralAgentsConfigurationDTO dto)
-
Constructor Details
-
EphemeralAgentsConfigurationResource
@Inject public EphemeralAgentsConfigurationResource(EphemeralAgentsService ephemeralAgentsService, com.atlassian.sal.api.message.I18nResolver i18nResolver, RestPermissionCheck restPermissionCheck)
-
-
Method Details
-
getConfiguration
- Throws:
NotAuthorizedException
-
saveConfiguration
@PUT public EphemeralAgentsConfigurationDTO saveConfiguration(@Nullable @Nullable EphemeralAgentsConfigurationDTO dto) throws NotAuthorizedException, WebValidationException -
testConnection
@Path("test-connection") @POST public javax.ws.rs.core.Response testConnection(@Nullable @Nullable EphemeralAgentsConfigurationDTO dto) throws WebValidationException - Throws:
WebValidationException
-