summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/gitblit/models
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2014-06-05 14:14:54 -0400
committerJames Moger <james.moger@gitblit.com>2014-06-05 14:16:42 -0400
commit1b04d7730f56a08c935974504b2d849d01870c02 (patch)
treee6e18f88ed99c825f58f0cfaceb7123aec75dba7 /src/main/java/com/gitblit/models
parent6551f2c076fd5b4a836bdc9bd3e09205b0673472 (diff)
downloadgitblit-1b04d7730f56a08c935974504b2d849d01870c02.tar.gz
gitblit-1b04d7730f56a08c935974504b2d849d01870c02.zip
Add clone transport user preference
Diffstat (limited to 'src/main/java/com/gitblit/models')
-rw-r--r--src/main/java/com/gitblit/models/UserPreferences.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/main/java/com/gitblit/models/UserPreferences.java b/src/main/java/com/gitblit/models/UserPreferences.java
index c95b0da5..90c034fc 100644
--- a/src/main/java/com/gitblit/models/UserPreferences.java
+++ b/src/main/java/com/gitblit/models/UserPreferences.java
@@ -23,6 +23,7 @@ import java.util.Locale;
import java.util.Map;
import java.util.TreeMap;
+import com.gitblit.Constants.Transport;
import com.gitblit.utils.StringUtils;
/**
@@ -41,6 +42,8 @@ public class UserPreferences implements Serializable {
private Boolean emailMeOnMyTicketChanges;
+ private Transport transport;
+
private final Map<String, UserRepositoryPreferences> repositoryPreferences = new TreeMap<String, UserRepositoryPreferences>();
public UserPreferences(String username) {
@@ -113,4 +116,12 @@ public class UserPreferences implements Serializable {
public void setEmailMeOnMyTicketChanges(boolean value) {
this.emailMeOnMyTicketChanges = value;
}
+
+ public Transport getTransport() {
+ return transport;
+ }
+
+ public void setTransport(Transport transport) {
+ this.transport = transport;
+ }
}