Class IMServerResource
java.lang.Object
com.atlassian.bamboo.plugins.rest.admin.imserver.IMServerResource
@Path("config/imServer")
@Consumes("application/json")
@Produces("application/json")
public class IMServerResource
extends Object
Rest endpoint to manage Instant Messenger configuration in bamboo
- Since:
- 5.10
-
Constructor Summary
ConstructorDescriptionIMServerResource
(InstantMessagingServerManager instantMessagingServerManager, RestPermissionCheck permissionCheck, IMServerConfigurationConversionFunction function) -
Method Summary
Modifier and TypeMethodDescription@NotNull javax.ws.rs.core.Response
@NotNull RestIMServerConfiguration
getIMServerConfig
(ExpansionParam expansion, javax.ws.rs.core.UriInfo uriInfo) @NotNull RestIMServerConfiguration
updateIMServerConfig
(@NotNull RestIMServerConfiguration restIMServerConfiguration, @NotNull Expansion expansion, @NotNull javax.ws.rs.core.UriInfo uriInfo)
-
Constructor Details
-
IMServerResource
@Inject public IMServerResource(InstantMessagingServerManager instantMessagingServerManager, RestPermissionCheck permissionCheck, IMServerConfigurationConversionFunction function)
-
-
Method Details
-
getIMServerConfig
@NotNull @GET public @NotNull RestIMServerConfiguration getIMServerConfig(@BeanParam ExpansionParam expansion, @Context javax.ws.rs.core.UriInfo uriInfo) -
deleteIMServerConfiguration
@NotNull @DELETE public @NotNull javax.ws.rs.core.Response deleteIMServerConfiguration() -
updateIMServerConfig
@NotNull @PUT public @NotNull RestIMServerConfiguration updateIMServerConfig(@NotNull @NotNull RestIMServerConfiguration restIMServerConfiguration, @Context @NotNull @NotNull Expansion expansion, @Context @NotNull @NotNull javax.ws.rs.core.UriInfo uriInfo) throws WebValidationException - Throws:
WebValidationException
-