package com.dmnlk.sample;

/**
 * Created by masaki on 2015/07/08.
 */
public class SampleConfiguration {
}

@@ -24,85 +24,730 @@
 e;%0A%0A
-/**%0A * Created by masaki on 2015/07/08.%0A */%0Apublic class SampleConfiguration %7B
+import com.fasterxml.jackson.annotation.JsonProperty;%0Aimport io.dropwizard.Configuration;%0Aimport org.hibernate.validator.constraints.NotEmpty;%0A%0A/**%0A * @author dmnlk%0A */%0Apublic class SampleConfiguration extends Configuration %7B%0A    @NotEmpty%0A    private String template;%0A%0A    @NotEmpty%0A    private String defaultName = %22Stranger%22;%0A%0A    @JsonProperty%0A    public String getDefaultName() %7B%0A        return defaultName;%0A    %7D%0A    @JsonProperty%0A    public void setDefaultName(String defaultName) %7B%0A        this.defaultName = defaultName;%0A    %7D%0A    @JsonProperty%0A    public String getTemplate() %7B%0A        return template;%0A    %7D%0A    @JsonProperty%0A    public void setTemplate(String template) %7B%0A        this.template = template;%0A    %7D
 %0A%7D%0A

add Configuration Class