Package org.kohsuke.github.internal
Enum Previews
- java.lang.Object
-
- java.lang.Enum<Previews>
-
- org.kohsuke.github.internal.Previews
-
- All Implemented Interfaces:
Serializable
,Comparable<Previews>
public enum Previews extends Enum<Previews>
Provides the media type strings for GitHub API previews https://developer.github.com/v3/previews/- Author:
- Kohsuke Kawaguchi
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANT_MAN
Enhanced DeploymentsANTIOPE
Check-runs and check-suitesBAPTISTE
Create repository from template repositoryCLOAK
Commit SearchFLASH
New deployment statuses and support for updating deployment status environmentGAMBIT
Owners of GitHub Apps can now uninstall an app using the Apps APIGROOT
List branches or pull requests for a commitINERTIA
Manage projectsLUKE_CAGE
Require multiple approving reviewsLYDIAN
Update a pull request branchMACHINE_MAN
Manage integrations through the APIMERCY
View a list of repository topics in calls that return repository resultsNEBULA
New visibility parameter for the Repositories APISHADOW_CAT
Draft pull requestsSQUIRREL_GIRL
ReactionsZZZAX
Require signed commits
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
mediaType()
Gets the mediaTypestatic Previews
valueOf(String name)
Returns the enum constant of this type with the specified name.static Previews[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ANTIOPE
public static final Previews ANTIOPE
Check-runs and check-suites- See Also:
- GitHub API Previews
-
ANT_MAN
public static final Previews ANT_MAN
Enhanced Deployments- See Also:
- GitHub API Previews
-
BAPTISTE
public static final Previews BAPTISTE
Create repository from template repository- See Also:
- GitHub API Previews
-
CLOAK
public static final Previews CLOAK
Commit Search- See Also:
- GitHub API Previews
-
FLASH
public static final Previews FLASH
New deployment statuses and support for updating deployment status environment- See Also:
- GitHub API Previews
-
GAMBIT
public static final Previews GAMBIT
Owners of GitHub Apps can now uninstall an app using the Apps API- See Also:
- GitHub API Previews
-
GROOT
public static final Previews GROOT
List branches or pull requests for a commit- See Also:
- GitHub API Previews
-
INERTIA
public static final Previews INERTIA
Manage projects- See Also:
- GitHub API Previews
-
LYDIAN
public static final Previews LYDIAN
Update a pull request branch- See Also:
- GitHub API Previews
-
LUKE_CAGE
public static final Previews LUKE_CAGE
Require multiple approving reviews- See Also:
- GitHub API Previews
-
MACHINE_MAN
public static final Previews MACHINE_MAN
Manage integrations through the API- See Also:
- GitHub API Previews
-
MERCY
public static final Previews MERCY
View a list of repository topics in calls that return repository results- See Also:
- GitHub API Previews
-
NEBULA
public static final Previews NEBULA
New visibility parameter for the Repositories API- See Also:
- GitHub API Previews
-
SHADOW_CAT
public static final Previews SHADOW_CAT
Draft pull requests- See Also:
- GitHub API Previews
-
SQUIRREL_GIRL
public static final Previews SQUIRREL_GIRL
Reactions- See Also:
- GitHub API Previews
-
ZZZAX
public static final Previews ZZZAX
Require signed commits- See Also:
- GitHub API Previews
-
-
Method Detail
-
values
public static Previews[] 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 (Previews c : Previews.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Previews 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
-
mediaType
public String mediaType()
Gets the mediaType- Returns:
- the media type string
-
-