Class LifecycleController
- java.lang.Object
-
- com.atlassian.connect.spring.internal.lifecycle.LifecycleController
-
@RestController public class LifecycleController extends Object
A controller that handles the add-on installation and uninstallation lifecycle callbacks.- See Also:
LifecycleControllerHandlerMapping
-
-
Constructor Summary
Constructors Constructor Description LifecycleController()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Method
getInstalledMethod()
static Method
getUninstalledMethod()
org.springframework.http.ResponseEntity<Void>
installed(@Valid LifecycleEvent lifecycleEvent, AtlassianHostUser hostUser)
org.springframework.http.ResponseEntity<Void>
uninstalled(@Valid LifecycleEvent lifecycleEvent, AtlassianHostUser hostUser)
-
-
-
Method Detail
-
getInstalledMethod
public static Method getInstalledMethod()
-
getUninstalledMethod
public static Method getUninstalledMethod()
-
installed
public org.springframework.http.ResponseEntity<Void> installed(@Valid @RequestBody @Valid LifecycleEvent lifecycleEvent, @AuthenticationPrincipal AtlassianHostUser hostUser)
-
uninstalled
public org.springframework.http.ResponseEntity<Void> uninstalled(@Valid @RequestBody @Valid LifecycleEvent lifecycleEvent, @AuthenticationPrincipal AtlassianHostUser hostUser)
-
-