Back to project page dashclock-gerrit.
The source code is released under:
Apache License
If you think the Android project dashclock-gerrit listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.plusonelabs.dashclock.gerrit; /* w w w. j ava 2 s . co m*/ import static com.plusonelabs.dashclock.gerrit.prefs.GerritPreferences.*; import com.plusonelabs.dashclock.gerrit.prefs.SecurePreferences; public class GerritEndpoint { private final SecurePreferences prefs; public GerritEndpoint(SecurePreferences prefs) { this.prefs = prefs; } public String getUrl() { return prefs.getString(SERVER_URL); } public String getUsername() { return prefs.getString(SERVER_USERNAME); } public String getPassword() { return prefs.getString(SERVER_PASSWORD); } }