| | |
| | | public String description;
|
| | | public List<String> owners;
|
| | | public Date lastChange;
|
| | | public String lastChangeAuthor;
|
| | | public boolean hasCommits;
|
| | | public boolean showRemoteBranches;
|
| | | public boolean useTickets;
|
| | | public boolean useDocs;
|
| | | public boolean useIncrementalRevisionNumbers;
|
| | | public boolean useIncrementalPushTags;
|
| | | public String incrementalPushTagPrefix;
|
| | | public AccessRestrictionType accessRestriction;
|
| | | public AuthorizationControl authorizationControl;
|
| | | public boolean allowAuthenticated;
|
| | |
| | | public boolean verifyCommitter;
|
| | | public String gcThreshold;
|
| | | public int gcPeriod;
|
| | | public int maxActivityCommits;
|
| | | public int maxActivityCommits; |
| | | public List<String> metricAuthorExclusions;
|
| | |
|
| | | public transient boolean isCollectingGarbage;
|
| | | public Date lastGC;
|
| | |
| | | this.federationStrategy = FederationStrategy.FEDERATE_THIS;
|
| | | this.projectPath = StringUtils.getFirstPathElement(name);
|
| | | this.owners = new ArrayList<String>();
|
| | | this.isBare = true;
|
| | |
|
| | | addOwner(owner);
|
| | | }
|
| | |
| | | return !accessRestriction.atLeast(AccessRestrictionType.VIEW);
|
| | | }
|
| | |
|
| | | public boolean isShowActivity() {
|
| | | return maxActivityCommits > -1;
|
| | | }
|
| | | |
| | | public boolean isSparkleshared() {
|
| | | return !StringUtils.isEmpty(sparkleshareId);
|
| | | }
|
| | |
| | | clone.showRemoteBranches = false;
|
| | | clone.allowForks = false;
|
| | | clone.useDocs = useDocs;
|
| | | clone.useIncrementalRevisionNumbers = useIncrementalRevisionNumbers;
|
| | | clone.useTickets = useTickets;
|
| | | clone.skipSizeCalculation = skipSizeCalculation;
|
| | | clone.skipSummaryMetrics = skipSummaryMetrics;
|