Package com.google.gerrit.entities
Class CachedProjectConfig.Builder
- java.lang.Object
-
- com.google.gerrit.entities.CachedProjectConfig.Builder
-
- Enclosing class:
- CachedProjectConfig
public abstract static class CachedProjectConfig.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
setProject
public abstract CachedProjectConfig.Builder setProject(Project value)
-
setAccountsSection
public abstract CachedProjectConfig.Builder setAccountsSection(AccountsSection value)
-
setBranchOrderSection
public abstract CachedProjectConfig.Builder setBranchOrderSection(Optional<BranchOrderSection> value)
-
addGroup
public CachedProjectConfig.Builder addGroup(GroupReference groupReference)
-
addAccessSection
public CachedProjectConfig.Builder addAccessSection(AccessSection accessSection)
-
addContributorAgreement
public CachedProjectConfig.Builder addContributorAgreement(ContributorAgreement contributorAgreement)
-
addNotifySection
public CachedProjectConfig.Builder addNotifySection(NotifyConfig notifyConfig)
-
addLabelSection
public CachedProjectConfig.Builder addLabelSection(LabelType labelType)
-
setMimeTypes
public abstract CachedProjectConfig.Builder setMimeTypes(ConfiguredMimeTypes value)
-
addSubscribeSection
public CachedProjectConfig.Builder addSubscribeSection(SubscribeSection subscribeSection)
-
addCommentLinkSection
public CachedProjectConfig.Builder addCommentLinkSection(StoredCommentLinkInfo storedCommentLinkInfo)
-
setRulesId
public abstract CachedProjectConfig.Builder setRulesId(Optional<org.eclipse.jgit.lib.ObjectId> value)
-
setRevision
public abstract CachedProjectConfig.Builder setRevision(Optional<org.eclipse.jgit.lib.ObjectId> value)
-
setMaxObjectSizeLimit
public abstract CachedProjectConfig.Builder setMaxObjectSizeLimit(long value)
-
setCheckReceivedObjects
public abstract CachedProjectConfig.Builder setCheckReceivedObjects(boolean value)
-
extensionPanelSectionsBuilder
public abstract com.google.common.collect.ImmutableMap.Builder<String,com.google.common.collect.ImmutableList<String>> extensionPanelSectionsBuilder()
-
setExtensionPanelSections
public CachedProjectConfig.Builder setExtensionPanelSections(Map<String,List<String>> value)
-
addPluginConfig
public CachedProjectConfig.Builder addPluginConfig(String pluginName, String pluginConfig)
-
addProjectLevelConfig
public CachedProjectConfig.Builder addProjectLevelConfig(String configFileName, String config)
-
build
public abstract CachedProjectConfig build()
-
groupsBuilder
protected abstract com.google.common.collect.ImmutableMap.Builder<AccountGroup.UUID,GroupReference> groupsBuilder()
-
accessSectionsBuilder
protected abstract com.google.common.collect.ImmutableMap.Builder<String,AccessSection> accessSectionsBuilder()
-
contributorAgreementsBuilder
protected abstract com.google.common.collect.ImmutableMap.Builder<String,ContributorAgreement> contributorAgreementsBuilder()
-
notifySectionsBuilder
protected abstract com.google.common.collect.ImmutableMap.Builder<String,NotifyConfig> notifySectionsBuilder()
-
labelSectionsBuilder
protected abstract com.google.common.collect.ImmutableMap.Builder<String,LabelType> labelSectionsBuilder()
-
subscribeSectionsBuilder
protected abstract com.google.common.collect.ImmutableMap.Builder<Project.NameKey,SubscribeSection> subscribeSectionsBuilder()
-
commentLinkSectionsBuilder
protected abstract com.google.common.collect.ImmutableMap.Builder<String,StoredCommentLinkInfo> commentLinkSectionsBuilder()
-
-