Package com.cloudbees.jenkins
Class GitHubRepositoryNameContributor
- java.lang.Object
-
- com.cloudbees.jenkins.GitHubRepositoryNameContributor
-
- All Implemented Interfaces:
ExtensionPoint
- Direct Known Subclasses:
GitHubRepositoryNameContributor.FromSCM
,GitHubTrigger.GitHubRepositoryNameContributorImpl
public abstract class GitHubRepositoryNameContributor extends Object implements ExtensionPoint
Extension point that associatesGitHubRepositoryName
s to a project.- Since:
- 1.7
- Author:
- Kohsuke Kawaguchi
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GitHubRepositoryNameContributor.FromSCM
Default implementation that looks at SCMs-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description GitHubRepositoryNameContributor()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ExtensionList<GitHubRepositoryNameContributor>
all()
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.
-
-
-
Method Detail
-
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 public void parseAssociatedNames(Job<?,?> job, Collection<GitHubRepositoryName> result)
Deprecated.Looks at the definition ofJob
and list up the related github repositories, then puts them into the collection.
-
parseAssociatedNames
public 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.- Parameters:
item
- the item.result
- the collection to add repository names to- Since:
- 1.25.0
-
all
public static ExtensionList<GitHubRepositoryNameContributor> all()
-
parseAssociatedNames
@Deprecated public static Collection<GitHubRepositoryName> parseAssociatedNames(AbstractProject<?,?> job)
Deprecated.
-
parseAssociatedNames
@Deprecated public static Collection<GitHubRepositoryName> parseAssociatedNames(Job<?,?> job)
Deprecated.
-
parseAssociatedNames
public static Collection<GitHubRepositoryName> parseAssociatedNames(Item item)
-
-