Package com.cloudbees.jenkins
Interface GitHubTrigger
- All Known Implementing Classes:
GitHubPushTrigger
public interface GitHubTrigger
Deprecated.
not used any more
Optional interface that can be implemented by
Trigger
that watches out for a change in GitHub
and triggers a build.- Author:
- aaronwalker
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
Deprecated.ContributesGitHubRepositoryName
fromgetGitHubRepositories()
for backward compatibility -
Method Summary
-
Method Details
-
onPost
Deprecated. -
onPost
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
.
-