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:
GitHubBranchEvent
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description GitHubTagEvent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GitHubTagCause
check(GitHubTagDecisionContext context)
indicates that branch was createdGitHubTagEventDescriptor
getDescriptor()
-
-
-
Method Detail
-
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
public GitHubTagEventDescriptor getDescriptor()
- Specified by:
getDescriptor
in interfaceDescribable<GitHubTagEvent>
- Overrides:
getDescriptor
in classAbstractDescribableImpl<GitHubTagEvent>
-
-