- All Implemented Interfaces:
Serializable
,Comparable<GHCommentAuthorAssociation>
How is an user associated with a repository?.
- Author:
- Kohsuke Kawaguchi
-
Enum Constant Summary
Enum ConstantDescriptionAuthor has been invited to collaborate on the repository.Author has previously committed to the repository.Author has not previously committed to the repository.Author has not previously committed to GitHub.Author is a placeholder for an unclaimed user.Author is a member of the organization that owns the repository.Author has no association with the repository.Author is the owner of the repository. -
Method Summary
Modifier and TypeMethodDescriptionstatic GHCommentAuthorAssociation
Returns the enum constant of this type with the specified name.static GHCommentAuthorAssociation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
COLLABORATOR
Author has been invited to collaborate on the repository. -
CONTRIBUTOR
Author has previously committed to the repository. -
FIRST_TIMER
Author has not previously committed to GitHub. -
FIRST_TIME_CONTRIBUTOR
Author has not previously committed to the repository. -
MANNEQUIN
Author is a placeholder for an unclaimed user. -
MEMBER
Author is a member of the organization that owns the repository. -
NONE
Author has no association with the repository. -
OWNER
Author is the owner of the repository.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-