diff options
author | James Moger <james.moger@gitblit.com> | 2011-09-14 09:13:51 -0400 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2011-09-14 09:13:51 -0400 |
commit | 8f73a7cc630bb61d088c7cdad30a6708870184ee (patch) | |
tree | 8eeb99b221d4a6e9c8f9a66f70051fc9a92e7fe6 /src/com/gitblit/models/RepositoryModel.java | |
parent | 94dfef9efa0208ebf5bea9fb539bae7344551620 (diff) | |
download | gitblit-8f73a7cc630bb61d088c7cdad30a6708870184ee.tar.gz gitblit-8f73a7cc630bb61d088c7cdad30a6708870184ee.zip |
Implemented Federation Sets. Documentation.
Diffstat (limited to 'src/com/gitblit/models/RepositoryModel.java')
-rw-r--r-- | src/com/gitblit/models/RepositoryModel.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/gitblit/models/RepositoryModel.java b/src/com/gitblit/models/RepositoryModel.java index cd54ca54..0f1a676b 100644 --- a/src/com/gitblit/models/RepositoryModel.java +++ b/src/com/gitblit/models/RepositoryModel.java @@ -16,7 +16,9 @@ package com.gitblit.models;
import java.io.Serializable;
+import java.util.ArrayList;
import java.util.Date;
+import java.util.List;
import com.gitblit.Constants.AccessRestrictionType;
import com.gitblit.Constants.FederationStrategy;
@@ -45,6 +47,7 @@ public class RepositoryModel implements Serializable, Comparable<RepositoryModel public boolean isFrozen;
public boolean showReadme;
public FederationStrategy federationStrategy;
+ public List<String> federationSets;
public boolean isFederated;
public String frequency;
public String origin;
@@ -60,6 +63,7 @@ public class RepositoryModel implements Serializable, Comparable<RepositoryModel this.owner = owner;
this.lastChange = lastchange;
this.accessRestriction = AccessRestrictionType.NONE;
+ federationSets = new ArrayList<String>();
}
@Override
|