Package org.kohsuke.github
Enum GHMyself.RepositoryListFilter
- java.lang.Object
-
- java.lang.Enum<GHMyself.RepositoryListFilter>
-
- org.kohsuke.github.GHMyself.RepositoryListFilter
-
- All Implemented Interfaces:
Serializable
,Comparable<GHMyself.RepositoryListFilter>
- Enclosing class:
- GHMyself
public static enum GHMyself.RepositoryListFilter extends Enum<GHMyself.RepositoryListFilter>
Type of repositories returned during listing.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALL
All public and private repositories that current user has access or collaborates to.MEMBER
Public and private repositories that current user is a member.OWNER
Public and private repositories owned by current user.PRIVATE
Private repositories that current user has access or collaborates to.PUBLIC
Public repositories that current user has access or collaborates to.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GHMyself.RepositoryListFilter
valueOf(String name)
Returns 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 Detail
-
ALL
public static final GHMyself.RepositoryListFilter ALL
All public and private repositories that current user has access or collaborates to.
-
OWNER
public static final GHMyself.RepositoryListFilter OWNER
Public and private repositories owned by current user.
-
PUBLIC
public static final GHMyself.RepositoryListFilter PUBLIC
Public repositories that current user has access or collaborates to.
-
PRIVATE
public static final GHMyself.RepositoryListFilter PRIVATE
Private repositories that current user has access or collaborates to.
-
MEMBER
public static final GHMyself.RepositoryListFilter MEMBER
Public and private repositories that current user is a member.
-
-
Method Detail
-
values
public static GHMyself.RepositoryListFilter[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (GHMyself.RepositoryListFilter c : GHMyself.RepositoryListFilter.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GHMyself.RepositoryListFilter valueOf(String name)
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
-
-