Package com.google.gerrit.entities
Class CachedProjectConfig.Builder
java.lang.Object
com.google.gerrit.entities.CachedProjectConfig.Builder
- Enclosing class:
- CachedProjectConfig
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract com.google.common.collect.ImmutableSortedMap.Builder<String,
AccessSection> addAccessSection
(AccessSection accessSection) addCommentLinkSection
(StoredCommentLinkInfo storedCommentLinkInfo) addContributorAgreement
(ContributorAgreement contributorAgreement) addGroup
(GroupReference groupReference) addLabelSection
(LabelType labelType) addNotifySection
(NotifyConfig notifyConfig) addPluginConfig
(String pluginName, String pluginConfig) addProjectLevelConfig
(String configFileName, String config) addSubmitRequirementSection
(SubmitRequirement submitRequirement) addSubscribeSection
(SubscribeSection subscribeSection) abstract CachedProjectConfig
build()
protected abstract com.google.common.collect.ImmutableMap.Builder<String,
StoredCommentLinkInfo> protected abstract com.google.common.collect.ImmutableMap.Builder<String,
ContributorAgreement> abstract com.google.common.collect.ImmutableMap.Builder<String,
com.google.common.collect.ImmutableList<String>> protected abstract com.google.common.collect.ImmutableMap.Builder<AccountGroup.UUID,
GroupReference> protected abstract com.google.common.collect.ImmutableMap.Builder<String,
NotifyConfig> abstract CachedProjectConfig.Builder
abstract CachedProjectConfig.Builder
abstract CachedProjectConfig.Builder
setCheckReceivedObjects
(boolean value) setExtensionPanelSections
(Map<String, List<String>> value) abstract CachedProjectConfig.Builder
setMaxObjectSizeLimit
(long value) abstract CachedProjectConfig.Builder
setMimeTypes
(ConfiguredMimeTypes value) abstract CachedProjectConfig.Builder
setProject
(Project value) abstract CachedProjectConfig.Builder
setRevision
(Optional<org.eclipse.jgit.lib.ObjectId> value) abstract CachedProjectConfig.Builder
setRulesId
(Optional<org.eclipse.jgit.lib.ObjectId> value) protected abstract com.google.common.collect.ImmutableMap.Builder<String,
SubmitRequirement> protected abstract com.google.common.collect.ImmutableMap.Builder<Project.NameKey,
SubscribeSection>
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setProject
-
setAccountsSection
-
setBranchOrderSection
public abstract CachedProjectConfig.Builder setBranchOrderSection(Optional<BranchOrderSection> value) -
addGroup
-
addAccessSection
-
addContributorAgreement
public CachedProjectConfig.Builder addContributorAgreement(ContributorAgreement contributorAgreement) -
addNotifySection
-
addLabelSection
-
addSubmitRequirementSection
-
setMimeTypes
-
addSubscribeSection
-
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
-
setCheckReceivedObjects
-
extensionPanelSectionsBuilder
-
setExtensionPanelSections
-
addPluginConfig
-
addProjectLevelConfig
-
build
-
groupsBuilder
protected abstract com.google.common.collect.ImmutableMap.Builder<AccountGroup.UUID,GroupReference> groupsBuilder() -
accessSectionsBuilder
protected abstract com.google.common.collect.ImmutableSortedMap.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
-
submitRequirementSectionsBuilder
protected abstract com.google.common.collect.ImmutableMap.Builder<String,SubmitRequirement> submitRequirementSectionsBuilder() -
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()
-