Package org.kohsuke.github.internal
Enum Previews
- All Implemented Interfaces:
Serializable
,Comparable<Previews>
Provides the media type strings for GitHub API previews
https://developer.github.com/v3/previews/
- Author:
- Kohsuke Kawaguchi
-
Enum Constant Summary
Enum ConstantDescriptionEnhanced DeploymentsCheck-runs and check-suitesCreate repository from template repositoryCommit SearchNew deployment statuses and support for updating deployment status environmentOwners of GitHub Apps can now uninstall an app using the Apps APIList branches or pull requests for a commitManage projectsRequire multiple approving reviewsUpdate a pull request branchManage integrations through the APIView a list of repository topics in calls that return repository resultsNew visibility parameter for the Repositories APIDraft pull requestsReactionsRequire signed commits -
Method Summary
-
Enum Constant Details
-
ANTIOPE
Check-runs and check-suites- See Also:
-
ANT_MAN
Enhanced Deployments- See Also:
-
BAPTISTE
Create repository from template repository- See Also:
-
CLOAK
Commit Search- See Also:
-
FLASH
New deployment statuses and support for updating deployment status environment- See Also:
-
GAMBIT
Owners of GitHub Apps can now uninstall an app using the Apps API- See Also:
-
GROOT
List branches or pull requests for a commit- See Also:
-
INERTIA
Manage projects- See Also:
-
LYDIAN
Update a pull request branch- See Also:
-
LUKE_CAGE
Require multiple approving reviews- See Also:
-
MACHINE_MAN
Manage integrations through the API- See Also:
-
MERCY
View a list of repository topics in calls that return repository results- See Also:
-
NEBULA
New visibility parameter for the Repositories API- See Also:
-
SHADOW_CAT
Draft pull requests- See Also:
-
SQUIRREL_GIRL
Reactions- See Also:
-
ZZZAX
Require signed commits- See Also:
-
-
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
-
mediaType
Gets the mediaType- Returns:
- the media type string
-