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
ConstructorsConstructorDescriptionIMServerResource(InstantMessagingServerManager instantMessagingServerManager, RestPermissionCheck permissionCheck, IMServerConfigurationConversionFunction function) -
Method Summary
Modifier and TypeMethodDescription@NotNull jakarta.ws.rs.core.Response@NotNull RestIMServerConfigurationgetIMServerConfig(ExpansionParam expansion, jakarta.ws.rs.core.UriInfo uriInfo) @NotNull RestIMServerConfigurationupdateIMServerConfig(@NotNull RestIMServerConfiguration restIMServerConfiguration, @NotNull Expansion expansion, @NotNull jakarta.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 jakarta.ws.rs.core.UriInfo uriInfo) -
deleteIMServerConfiguration
@NotNull @DELETE public @NotNull jakarta.ws.rs.core.Response deleteIMServerConfiguration() -
updateIMServerConfig
@NotNull @PUT public @NotNull RestIMServerConfiguration updateIMServerConfig(@NotNull @NotNull RestIMServerConfiguration restIMServerConfiguration, @Context @NotNull @NotNull Expansion expansion, @Context @NotNull @NotNull jakarta.ws.rs.core.UriInfo uriInfo) throws WebValidationException - Throws:
WebValidationException
-