Class DevServicesResultBuildItem

java.lang.Object
io.quarkus.builder.item.BuildItem
io.quarkus.builder.item.MultiBuildItem
io.quarkus.deployment.builditem.DevServicesResultBuildItem

public final class DevServicesResultBuildItem extends io.quarkus.builder.item.MultiBuildItem
BuildItem for discovered (running) or to be started dev services.

Processors are expected to return this build item not only when the dev service first starts, but also if a running dev service already exists.

Two builders are provided to create this build item:

- discovered() for discovered dev services, provides config to be injected to the application with container id (if it exists).

- owned() for owned dev services, that will be started before application start, provides the startable supplier and config injected to the application and post-start action.

DevServicesResultBuildItem.RunningDevService is deprecated in favor of builder flavors.