Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Simple Dropwizard app configuration
package com.karollotkowski.cleancode;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.dropwizard.Configuration;
import org.hibernate.validator.constraints.NotEmpty;
public class AppConfiguration extends Configuration {
private String appName;
public String getAppName() {
return appName;
public void setAppName(final String appName) {
this.appName = appName;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment