Package org.kohsuke.github
Enum GHMyself.RepositoryListFilter
- All Implemented Interfaces:
Serializable
,Comparable<GHMyself.RepositoryListFilter>
- Enclosing class:
- GHMyself
Type of repositories returned during listing.
-
Enum Constant Summary
Enum ConstantDescriptionAll public and private repositories that current user has access or collaborates to.Public and private repositories that current user is a member.Public and private repositories owned by current user.Private repositories that current user has access or collaborates to.Public repositories that current user has access or collaborates to. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.static GHMyself.RepositoryListFilter[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ALL
All public and private repositories that current user has access or collaborates to. -
OWNER
Public and private repositories owned by current user. -
PUBLIC
Public repositories that current user has access or collaborates to. -
PRIVATE
Private repositories that current user has access or collaborates to. -
MEMBER
Public and private repositories that current user is a member.
-
-
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
-