@Path(value="look-and-feel") @Produces(value="application/json") @Consumes(value="application/json") public class LookAndFeelResource extends Object
Constructor and Description |
---|
LookAndFeelResource(LookAndFeelController controller) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
getConfig()
Returns Look and Feel configuration if configured, empty body otherwise.
|
javax.ws.rs.core.Response |
removeConfiguration()
Removes Look and Feel configuration
|
javax.ws.rs.core.Response |
updateConfig(LookAndFeelConfigEntity lookAndFeel)
Saves Look and Feel configuration
|
public LookAndFeelResource(LookAndFeelController controller)
@GET @Path(value="config") public javax.ws.rs.core.Response getConfig() throws PropertyManagerException
PropertyManagerException
@PUT @Path(value="config") public javax.ws.rs.core.Response updateConfig(LookAndFeelConfigEntity lookAndFeel) throws PropertyManagerException
lookAndFeel
- an entity with Look and Feel configurationPropertyManagerException
@POST @Path(value="reset-config") public javax.ws.rs.core.Response removeConfiguration() throws PropertyManagerException
PropertyManagerException
Copyright © 2021 Atlassian. All rights reserved.
View cookie preferences