Builder

class Builder

What a WowLocal runs: its services, each added with service, in the order they start.

Functions

Link copied to clipboard
inline fun <reified App : Any> service(name: String, contexts: List<String>, publicPort: Int = 0, internalPort: Int = 0, properties: Map<String, Any?> = emptyMap()): WowLocal.Builder

The service of App, as service of its class adds it.

fun service(application: Class<*>, name: String, contexts: List<String>, publicPort: Int = 0, internalPort: Int = 0, properties: Map<String, Any?> = emptyMap()): WowLocal.Builder

The service named name (spring.application.name), the application application serving contexts alone, on its publicPort and internalPort when the ports are fixed, with properties over its own configuration.