Package org.kohsuke.github
Enum GHRepositorySearchBuilder.Fork
- All Implemented Interfaces:
Serializable
,Comparable<GHRepositorySearchBuilder.Fork>
- Enclosing class:
- GHRepositorySearchBuilder
@Deprecated
public static enum GHRepositorySearchBuilder.Fork
extends Enum<GHRepositorySearchBuilder.Fork>
Deprecated.
The enum for Fork search mode.
-
Enum Constant Summary
Enum ConstantDescriptionDeprecated.Search only in forks with more stars than the parent repository.Deprecated.Search in the parent repository and in forks with more stars than the parent repository.Deprecated.(Default) Search only the parent repository. -
Method Summary
Modifier and TypeMethodDescriptiontoString()
Deprecated.To string.Deprecated.Returns the enum constant of this type with the specified name.static GHRepositorySearchBuilder.Fork[]
values()
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
PARENT_AND_FORKS
Deprecated.Search in the parent repository and in forks with more stars than the parent repository. Forks with the same or fewer stars than the parent repository are still ignored. -
FORKS_ONLY
Deprecated.Search only in forks with more stars than the parent repository. The parent repository is ignored. If no forks have more stars than the parent, no results will be returned. -
PARENT_ONLY
Deprecated.(Default) Search only the parent repository. Forks are ignored.
-
-
Method Details
-
values
Deprecated.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
Deprecated.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
-
toString
Deprecated.To string.- Overrides:
toString
in classEnum<GHRepositorySearchBuilder.Fork>
- Returns:
- the string
-
GHFork
instead.