Class GitHubTagEvent
java.lang.Object
hudson.model.AbstractDescribableImpl<GitHubTagEvent>
com.github.kostyasha.github.integration.tag.events.GitHubTagEvent
- All Implemented Interfaces:
ExtensionPoint
,Describable<GitHubTagEvent>
- Direct Known Subclasses:
GitHubTagCreatedEvent
,GitHubTagRestrictionFilter
public abstract class GitHubTagEvent
extends AbstractDescribableImpl<GitHubTagEvent>
implements ExtensionPoint
Different "events" that may want trigger run for tag.
- Author:
- Kanstantsin Shautsou
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncheck
(GitHubTagDecisionContext context) indicates that branch was created
-
Constructor Details
-
GitHubTagEvent
public GitHubTagEvent()
-
-
Method Details
-
check
@CheckForNull public GitHubTagCause check(@NonNull GitHubTagDecisionContext context) throws IOException indicates that branch was created- 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
-
getDescriptor
- Specified by:
getDescriptor
in interfaceDescribable<GitHubTagEvent>
- Overrides:
getDescriptor
in classAbstractDescribableImpl<GitHubTagEvent>
-