Package com.google.gerrit.entities
Class ContributorAgreement.Builder
- java.lang.Object
-
- com.google.gerrit.entities.ContributorAgreement.Builder
-
- Enclosing class:
- ContributorAgreement
public abstract static class ContributorAgreement.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract ContributorAgreement
build()
abstract ContributorAgreement.Builder
setAccepted(com.google.common.collect.ImmutableList<PermissionRule> accepted)
abstract ContributorAgreement.Builder
setAgreementUrl(String agreementUrl)
abstract ContributorAgreement.Builder
setAutoVerify(GroupReference autoVerify)
abstract ContributorAgreement.Builder
setDescription(String description)
abstract ContributorAgreement.Builder
setExcludeProjectsRegexes(List<String> excludeProjectsRegexes)
abstract ContributorAgreement.Builder
setMatchProjectsRegexes(List<String> matchProjectsRegexes)
abstract ContributorAgreement.Builder
setName(String name)
-
-
-
Method Detail
-
setName
public abstract ContributorAgreement.Builder setName(String name)
-
setDescription
public abstract ContributorAgreement.Builder setDescription(String description)
-
setAccepted
public abstract ContributorAgreement.Builder setAccepted(com.google.common.collect.ImmutableList<PermissionRule> accepted)
-
setAutoVerify
public abstract ContributorAgreement.Builder setAutoVerify(GroupReference autoVerify)
-
setAgreementUrl
public abstract ContributorAgreement.Builder setAgreementUrl(String agreementUrl)
-
setExcludeProjectsRegexes
public abstract ContributorAgreement.Builder setExcludeProjectsRegexes(List<String> excludeProjectsRegexes)
-
setMatchProjectsRegexes
public abstract ContributorAgreement.Builder setMatchProjectsRegexes(List<String> matchProjectsRegexes)
-
build
public abstract ContributorAgreement build()
-
-