Package com.google.gerrit.common.data
Class ContributorAgreement
- java.lang.Object
-
- com.google.gerrit.common.data.ContributorAgreement
-
- All Implemented Interfaces:
Comparable<ContributorAgreement>
public class ContributorAgreement extends Object implements Comparable<ContributorAgreement>
Portion of aProject
describing a single contributor agreement.
-
-
Field Summary
Fields Modifier and Type Field Description protected List<PermissionRule>
accepted
protected String
agreementUrl
protected GroupReference
autoVerify
protected String
description
protected List<String>
excludeProjectsRegexes
protected List<String>
matchProjectsRegexes
protected String
name
-
Constructor Summary
Constructors Modifier Constructor Description protected
ContributorAgreement()
ContributorAgreement(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(ContributorAgreement o)
List<PermissionRule>
getAccepted()
String
getAgreementUrl()
GroupReference
getAutoVerify()
String
getDescription()
List<String>
getExcludeProjectsRegexes()
List<String>
getMatchProjectsRegexes()
String
getName()
void
setAccepted(List<PermissionRule> accepted)
void
setAgreementUrl(String agreementUrl)
void
setAutoVerify(GroupReference autoVerify)
void
setDescription(String description)
void
setExcludeProjectsRegexes(List<String> excludeProjectsRegexes)
void
setMatchProjectsRegexes(List<String> matchProjectsRegexes)
void
setName(String name)
String
toString()
-
-
-
Field Detail
-
name
protected String name
-
description
protected String description
-
accepted
protected List<PermissionRule> accepted
-
autoVerify
protected GroupReference autoVerify
-
agreementUrl
protected String agreementUrl
-
-
Constructor Detail
-
ContributorAgreement
protected ContributorAgreement()
-
ContributorAgreement
public ContributorAgreement(String name)
-
-
Method Detail
-
getName
public String getName()
-
setName
public void setName(String name)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
getAccepted
public List<PermissionRule> getAccepted()
-
setAccepted
public void setAccepted(List<PermissionRule> accepted)
-
getAutoVerify
public GroupReference getAutoVerify()
-
setAutoVerify
public void setAutoVerify(GroupReference autoVerify)
-
getAgreementUrl
public String getAgreementUrl()
-
setAgreementUrl
public void setAgreementUrl(String agreementUrl)
-
setExcludeProjectsRegexes
public void setExcludeProjectsRegexes(List<String> excludeProjectsRegexes)
-
compareTo
public int compareTo(ContributorAgreement o)
- Specified by:
compareTo
in interfaceComparable<ContributorAgreement>
-
-