Created
February 10, 2015 03:56
-
-
Save javaeeeee/5644489188cfb4e6445d to your computer and use it in GitHub Desktop.
Dropwizard Configuration Subclass
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class DWGettingStartedConfiguration extends Configuration { | |
| @NotNull | |
| private String login; | |
| @NotNull | |
| private String password; | |
| @JsonProperty | |
| public String getLogin() { | |
| return login; | |
| } | |
| @JsonProperty | |
| public String getPassword() { | |
| return password; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment