ComplexManagedLifecycle

@ApiStatus.Experimental
@ApiStatus.AvailableSince(value = "4.3.0")
interface ComplexManagedLifecycle : ComplexLifecycle, ManagedLifecycle

Functions

Link copied to clipboard
open suspend fun handleDisable()

Called when this object is disabled|stopped

Link copied to clipboard
open suspend fun handleEnable()

Called when this object is enabled|started

Link copied to clipboard
open suspend fun handleLoad()

Called when this object is created|loaded

Link copied to clipboard
open suspend fun handlePostDisable()

Called after ComplexLifecycle.handleDisable and the objects manager has finished its disable|stop process.

Link copied to clipboard
open suspend fun handlePostEnable()

Called after ComplexLifecycle.handleEnable and the objects manager has finished its enable|start process.

Link copied to clipboard
open suspend fun handlePostLoad()

Called after Lifecycle.handleLoad and the objects manager has finished its create|load process.

Link copied to clipboard
open suspend fun handlePostUnload()

Called after Lifecycle.handleDestroy and the objects manager has finished its destroy|dispose|unload process.

Link copied to clipboard
open suspend fun handleReload()

Called when this object is should reload its configuration/data

Link copied to clipboard
open suspend fun handleUnload()

Called when this object is destroyed|disposed|unloaded