booster / com.didiglobal.booster.transform.util / AbstractSupervisor

AbstractSupervisor

abstract class AbstractSupervisor<T> : Supervisor

An abstraction of Supervisor

Parameters

action - The action for observing

Constructors

<init>

An abstraction of Supervisor

AbstractSupervisor(action: (T) -> Unit)

Properties

action

The action for observing

val action: (T) -> Unit

Inheritors

ClassDescriptorSupervisor

A supervisor for class descriptor observing

open class ClassDescriptorSupervisor : AbstractSupervisor<String>

ClassNameSupervisor

A supervisor for class name observing

class ClassNameSupervisor : AbstractSupervisor<String>

ServiceSupervisor

A supervisor for service (SPI) observing

class ServiceSupervisor : AbstractSupervisor<Pair<String, Collection<String>>>