Uses of Enum
org.kohsuke.github.GHPermissionType
Packages that use GHPermissionType
-
Uses of GHPermissionType in org.kohsuke.github
Methods in org.kohsuke.github that return GHPermissionTypeModifier and TypeMethodDescriptionGHRepository.getPermission(String user) Obtain permission for a given user in this repository.GHRepository.getPermission(GHUser u) Obtain permission for a given user in this repository.static GHPermissionTypeReturns the enum constant of this type with the specified name.static GHPermissionType[]GHPermissionType.values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.kohsuke.github that return types with arguments of type GHPermissionTypeMethods in org.kohsuke.github with parameters of type GHPermissionTypeModifier and TypeMethodDescriptionbooleanGHRepository.hasPermission(String user, GHPermissionType permission) Check if a user has at least the given permission in this repository.booleanGHRepository.hasPermission(GHUser user, GHPermissionType permission) Check if a user has at least the given permission in this repository.voidGHProject.setOrganizationPermission(GHPermissionType permission) Set the permission level that all members of the project's organization will have on this project.Method parameters in org.kohsuke.github with type arguments of type GHPermissionTypeModifier and TypeMethodDescriptionGHAppInstallation.createToken(Map<String, GHPermissionType> permissions) Deprecated.GHAppCreateTokenBuilder.permissions(Map<String, GHPermissionType> permissions) Set the permissions granted to the access token.voidGHAppInstallation.setPermissions(Map<String, GHPermissionType> permissions) Deprecated.Do not use this method.
GHAppInstallation.createToken()instead.