Class GitHubTagCreatedEvent
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<GitHubTagEvent>
-
- com.github.kostyasha.github.integration.tag.events.GitHubTagEvent
-
- com.github.kostyasha.github.integration.tag.events.impl.GitHubTagCreatedEvent
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<GitHubTagEvent>
public class GitHubTagCreatedEvent extends GitHubTagEvent
Triggers when tag didn't exist before and appeared in remote.- Author:
- Kanstantsin Shautsou
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GitHubTagCreatedEvent.DescriptorImpl
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description GitHubTagCreatedEvent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GitHubTagCause
check(GitHubTagDecisionContext context)
indicates that branch was created-
Methods inherited from class com.github.kostyasha.github.integration.tag.events.GitHubTagEvent
getDescriptor
-
-
-
-
Method Detail
-
check
public GitHubTagCause check(@NonNull GitHubTagDecisionContext context) throws IOException
Description copied from class:GitHubTagEvent
indicates that branch was created- Overrides:
check
in classGitHubTagEvent
- 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
-
-