Class ConfigurationResource
java.lang.Object
com.codebarrel.jira.plugin.automation.rest.ConfigurationResource
@Component
@Path("configuration")
@Consumes("application/json")
@Produces("application/json")
public class ConfigurationResource
extends Object
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final AuditLogExpiryServiceprotected final JiraAuthenticationContextprotected final AutomationConfigServiceprotected final GlobalPermissionManagerprotected final StaleEntryUpdateServiceprotected final TenantServiceprotected final TransferUserService -
Constructor Summary
ConstructorsConstructorDescriptionConfigurationResource(TenantService tenantService, TransferUserService transferUserService, AutomationConfigService automationConfigService, JiraAuthenticationContext authenticationContext, GlobalPermissionManager globalPermissionManager, AuditLogExpiryService auditLogExpiryService, StaleEntryUpdateService staleEntryUpdateService) -
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.Responsejakarta.ws.rs.core.ResponsegetProperty(String key) jakarta.ws.rs.core.ResponseremoveProperty(String key) jakarta.ws.rs.core.ResponsesetProperties(Map<String, String> properties) jakarta.ws.rs.core.ResponsesetProperty(ConfigurationResource.Property property) jakarta.ws.rs.core.ResponsetransferUser(ConfigurationResource.TransferUserBean transferBean) jakarta.ws.rs.core.ResponsevalidateTransferUser(ConfigurationResource.TransferUserBean transferBean)
-
Field Details
-
authenticationContext
-
globalPermissionManager
-
auditLogExpiryService
-
tenantService
-
transferUserService
-
automationConfigService
-
staleEntryUpdateService
-
-
Constructor Details
-
ConfigurationResource
@Inject public ConfigurationResource(TenantService tenantService, TransferUserService transferUserService, AutomationConfigService automationConfigService, JiraAuthenticationContext authenticationContext, GlobalPermissionManager globalPermissionManager, AuditLogExpiryService auditLogExpiryService, StaleEntryUpdateService staleEntryUpdateService)
-
-
Method Details
-
getProperty
@GET @Path("property") public jakarta.ws.rs.core.Response getProperty() -
setProperties
-
setProperty
@PUT @Path("property") public jakarta.ws.rs.core.Response setProperty(ConfigurationResource.Property property) -
getProperty
@GET @Path("property/{key}") public jakarta.ws.rs.core.Response getProperty(@PathParam("key") String key) -
removeProperty
@DELETE @Path("property/{key}") public jakarta.ws.rs.core.Response removeProperty(@PathParam("key") String key) -
validateTransferUser
@POST @Path("transfer/validate") public jakarta.ws.rs.core.Response validateTransferUser(ConfigurationResource.TransferUserBean transferBean) -
transferUser
@POST @Path("transfer") public jakarta.ws.rs.core.Response transferUser(ConfigurationResource.TransferUserBean transferBean)
-