Package com.cloudbees.jenkins
Interface GitHubTrigger
-
- All Known Implementing Classes:
GitHubPushTrigger
public interface GitHubTrigger
Deprecated.not used any moreOptional interface that can be implemented byTrigger
that watches out for a change in GitHub and triggers a build.- Author:
- aaronwalker
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
GitHubTrigger.GitHubRepositoryNameContributorImpl
Deprecated.ContributesGitHubRepositoryName
fromgetGitHubRepositories()
for backward compatibility
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description Set<GitHubRepositoryName>
getGitHubRepositories()
Deprecated.void
onPost()
Deprecated.void
onPost(String triggeredByUser)
Deprecated.
-
-
-
Method Detail
-
onPost
@Deprecated void onPost()
Deprecated.
-
onPost
void onPost(String triggeredByUser)
Deprecated.
-
getGitHubRepositories
Set<GitHubRepositoryName> getGitHubRepositories()
Deprecated.Obtains the list of the repositories that this trigger is looking at. If the implementation of this class maintain its own list of GitHub repositories, it should continue to implement this method for backward compatibility, and it gets picked up byGitHubRepositoryNameContributor.parseAssociatedNames(AbstractProject)
.Alternatively, if the implementation doesn't worry about the backward compatibility, it can implement this method to return an empty collection, then just implement
GitHubRepositoryNameContributor
.
-
-