Class GitHubPermissionsSource
- java.lang.Object
-
- org.jenkinsci.plugins.github_branch_source.GitHubPermissionsSource
-
public abstract class GitHubPermissionsSource extends Object
A deferred source of permission information about a repository.- Since:
- 2.2.2
-
-
Constructor Summary
Constructors Constructor Description GitHubPermissionsSource()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract org.kohsuke.github.GHPermissionType
fetch(String username)
Fetches the permissions of the supplied username.
-
-
-
Method Detail
-
fetch
public abstract org.kohsuke.github.GHPermissionType fetch(String username) throws IOException, InterruptedException
Fetches the permissions of the supplied username.- Parameters:
username
- the username.- Returns:
- the permissions.
- Throws:
IOException
- if there was an IO error.InterruptedException
- if interrupted.
-
-