Class GitHubTagRestrictionFilter
java.lang.Object
hudson.model.AbstractDescribableImpl<GitHubTagEvent>
com.github.kostyasha.github.integration.tag.events.GitHubTagEvent
com.github.kostyasha.github.integration.tag.events.impl.GitHubTagRestrictionFilter
- All Implemented Interfaces:
ExtensionPoint
,Describable<GitHubTagEvent>
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncheck
(GitHubTagDecisionContext context) indicates that branch was createdboolean
boolean
void
setExclude
(boolean exclude) void
setMatchAsPattern
(boolean matchAsPattern) void
setMatchCriteriaStr
(String matchCriteria) Methods inherited from class com.github.kostyasha.github.integration.tag.events.GitHubTagEvent
getDescriptor
-
Constructor Details
-
GitHubTagRestrictionFilter
@DataBoundConstructor public GitHubTagRestrictionFilter()
-
-
Method Details
-
getMatchCriteriaStr
-
setMatchCriteriaStr
-
isExclude
public boolean isExclude() -
setExclude
@DataBoundSetter public void setExclude(boolean exclude) -
isMatchAsPattern
public boolean isMatchAsPattern() -
setMatchAsPattern
@DataBoundSetter public void setMatchAsPattern(boolean matchAsPattern) -
getMatchCriteria
-
check
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
-