Class GitHubPRRepositoryFactory
- java.lang.Object
-
- jenkins.model.TransientActionFactory<Job>
-
- com.github.kostyasha.github.integration.generic.GitHubRepositoryFactory<GitHubPRRepositoryFactory,GitHubPRTrigger>
-
- org.jenkinsci.plugins.github.pullrequest.GitHubPRRepositoryFactory
-
- All Implemented Interfaces:
ExtensionPoint
@Extension public class GitHubPRRepositoryFactory extends GitHubRepositoryFactory<GitHubPRRepositoryFactory,GitHubPRTrigger>
Create GitHubPRRepository. Don't depend on remote connection because updateTransientActions() called only once and connection may appear later.- Author:
- Kanstantsin Shautsou
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class jenkins.model.TransientActionFactory
TransientActionFactory.Cache
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description GitHubPRRepositoryFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<? extends Action>
createFor(Job job)
Class<Job>
type()
-
Methods inherited from class jenkins.model.TransientActionFactory
actionType, factoriesFor
-
-
-
-
Method Detail
-
createFor
@NonNull public Collection<? extends Action> createFor(@NonNull Job job)
- Specified by:
createFor
in classTransientActionFactory<Job>
-
type
public Class<Job> type()
- Overrides:
type
in classGitHubRepositoryFactory<GitHubPRRepositoryFactory,GitHubPRTrigger>
-
-