Package com.cloudbees.jenkins
Class GitHubRepositoryNameContributor
java.lang.Object
com.cloudbees.jenkins.GitHubRepositoryNameContributor
- All Implemented Interfaces:
ExtensionPoint
- Direct Known Subclasses:
GitHubRepositoryNameContributor.FromSCM
,GitHubTrigger.GitHubRepositoryNameContributorImpl
Extension point that associates
GitHubRepositoryName
s to a project.- Since:
- 1.7
- Author:
- Kohsuke Kawaguchi
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Default implementation that looks at SCMsNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionall()
static Collection
<GitHubRepositoryName> parseAssociatedNames
(AbstractProject<?, ?> job) Deprecated.void
parseAssociatedNames
(AbstractProject<?, ?> job, Collection<GitHubRepositoryName> result) Deprecated.static Collection
<GitHubRepositoryName> parseAssociatedNames
(Item item) void
parseAssociatedNames
(Item item, Collection<GitHubRepositoryName> result) Looks at the definition ofItem
and list up the related github repositories, then puts them into the collection.static Collection
<GitHubRepositoryName> parseAssociatedNames
(Job<?, ?> job) Deprecated.void
parseAssociatedNames
(Job<?, ?> job, Collection<GitHubRepositoryName> result) Deprecated.
-
Constructor Details
-
GitHubRepositoryNameContributor
public GitHubRepositoryNameContributor()
-
-
Method Details
-
parseAssociatedNames
@Deprecated public void parseAssociatedNames(AbstractProject<?, ?> job, Collection<GitHubRepositoryName> result) Deprecated.Looks at the definition ofAbstractProject
and list up the related github repositories, then puts them into the collection. -
parseAssociatedNames
Deprecated.Looks at the definition ofJob
and list up the related github repositories, then puts them into the collection. -
parseAssociatedNames
Looks at the definition ofItem
and list up the related github repositories, then puts them into the collection.- Parameters:
item
- the item.result
- the collection to add repository names to- Since:
- 1.25.0
-
all
-
parseAssociatedNames
@Deprecated public static Collection<GitHubRepositoryName> parseAssociatedNames(AbstractProject<?, ?> job) Deprecated. -
parseAssociatedNames
Deprecated. -
parseAssociatedNames
-
parseAssociatedNames(Job)