Class GitHubBranchHashChangedEvent
java.lang.Object
hudson.model.AbstractDescribableImpl<GitHubBranchEvent>
com.github.kostyasha.github.integration.branch.events.GitHubBranchEvent
com.github.kostyasha.github.integration.branch.events.impl.GitHubBranchHashChangedEvent
- All Implemented Interfaces:
ExtensionPoint
,Describable<GitHubBranchEvent>
When SHA1 changed between local and remote state.
- Author:
- Kanstantsin Shautsou
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncheck
(GitHubBranchDecisionContext context) indicates that branch was createdMethods inherited from class com.github.kostyasha.github.integration.branch.events.GitHubBranchEvent
checkHook, getDescriptor
-
Constructor Details
-
GitHubBranchHashChangedEvent
@DataBoundConstructor public GitHubBranchHashChangedEvent()
-
-
Method Details
-
check
Description copied from class:GitHubBranchEvent
indicates that branch was created- Overrides:
check
in classGitHubBranchEvent
- Returns:
- cause object. null when no influence (other events will be checked. If cause.isSkip() == true, then other checks wouldn't influence. And triggering for this branch will be skipped. If cause.isSkip() == false, indicates that branch build should be run.
- Throws:
IOException
-