Class GitHubBranchRepositoryFactory
- java.lang.Object
-
- jenkins.model.TransientActionFactory<Job>
-
- com.github.kostyasha.github.integration.generic.GitHubRepositoryFactory<GitHubBranchRepositoryFactory,GitHubBranchTrigger>
-
- com.github.kostyasha.github.integration.branch.GitHubBranchRepositoryFactory
-
- All Implemented Interfaces:
ExtensionPoint
@Extension public class GitHubBranchRepositoryFactory extends GitHubRepositoryFactory<GitHubBranchRepositoryFactory,GitHubBranchTrigger>
Create GitHubBranchRepository. 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 GitHubBranchRepositoryFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<? extends Action>
createFor(Job job)
-
Methods inherited from class com.github.kostyasha.github.integration.generic.GitHubRepositoryFactory
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>
-
-