Class LifecycleController
java.lang.Object
com.atlassian.connect.spring.internal.lifecycle.LifecycleController
A controller that handles the add-on installation and uninstallation lifecycle callbacks.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionLifecycleController
(AtlassianHostRepository hostRepository, AtlassianHostMappingRepository hostMappingRepository, AddonDescriptorLoader addonDescriptorLoader, LifecycleAuthenticator lifecycleAuthenticator, AsynchronousApplicationEventPublisher eventPublisher, TransactionExecutor transactionExecutor, AtlassianConnectProperties atlassianConnectProperties) -
Method Summary
Modifier and TypeMethodDescriptionstatic Method
static Method
org.springframework.http.ResponseEntity<Void>
installed
(jakarta.servlet.http.HttpServletRequest request, @Valid LifecycleEvent lifecycleEvent) org.springframework.http.ResponseEntity<Void>
uninstalled
(jakarta.servlet.http.HttpServletRequest request, @Valid LifecycleEvent lifecycleEvent)
-
Constructor Details
-
LifecycleController
public LifecycleController(AtlassianHostRepository hostRepository, AtlassianHostMappingRepository hostMappingRepository, AddonDescriptorLoader addonDescriptorLoader, LifecycleAuthenticator lifecycleAuthenticator, AsynchronousApplicationEventPublisher eventPublisher, TransactionExecutor transactionExecutor, AtlassianConnectProperties atlassianConnectProperties)
-
-
Method Details
-
getInstalledMethod
-
getUninstalledMethod
-
installed
public org.springframework.http.ResponseEntity<Void> installed(jakarta.servlet.http.HttpServletRequest request, @Valid @RequestBody @Valid LifecycleEvent lifecycleEvent) -
uninstalled
public org.springframework.http.ResponseEntity<Void> uninstalled(jakarta.servlet.http.HttpServletRequest request, @Valid @RequestBody @Valid LifecycleEvent lifecycleEvent)
-