App

class App(val appName: String?) : AppNameConstraint

Constraint to retrieve modules with applications that have a specific name. Note that 'null' is a valid application name: it is the default application's name.

If you want to get all modules regardless of their assigned application, use AppNameConstraint.Any instead.

Constructors

Link copied to clipboard
constructor(appName: String?)

Properties

Link copied to clipboard

Name of the app

Functions

Link copied to clipboard
open override fun acceptsModule(module: KtorModule): Boolean

Returns true if the provided module corresponds to this constraint.