All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.example.helloworld.HelloWorldConfiguration Maven / Gradle / Ivy

There is a newer version: 2.0.16-1
Show newest version
package com.example.helloworld;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.smoketurner.dropwizard.zipkin.ZipkinFactory;
import com.smoketurner.dropwizard.zipkin.client.ZipkinClientConfiguration;
import io.dropwizard.Configuration;

public class HelloWorldConfiguration extends Configuration {

    @Valid
    @NotNull
    public final ZipkinFactory zipkin = new ZipkinFactory();

    @Valid
    @NotNull
    private final ZipkinClientConfiguration zipkinClient = new ZipkinClientConfiguration();

    @JsonProperty
    public ZipkinFactory getZipkinFactory() {
        return zipkin;
    }

    @JsonProperty
    public ZipkinClientConfiguration getZipkinClient() {
        return zipkinClient;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy