Package jenkins.branch
Class NoTriggerOrganizationFolderProperty
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<com.cloudbees.hudson.plugins.folder.AbstractFolderProperty<?>>
-
- com.cloudbees.hudson.plugins.folder.AbstractFolderProperty<OrganizationFolder>
-
- jenkins.branch.NoTriggerOrganizationFolderProperty
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<com.cloudbees.hudson.plugins.folder.AbstractFolderProperty<?>>
,ReconfigurableDescribable<com.cloudbees.hudson.plugins.folder.AbstractFolderProperty<?>>
,NoTriggerMultiBranchQueueDecisionHandler.NoTriggerProperty
public class NoTriggerOrganizationFolderProperty extends com.cloudbees.hudson.plugins.folder.AbstractFolderProperty<OrganizationFolder> implements NoTriggerMultiBranchQueueDecisionHandler.NoTriggerProperty
DefinesNoTriggerBranchProperty
on selected branches.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NoTriggerOrganizationFolderProperty.DescriptorImpl
static class
NoTriggerOrganizationFolderProperty.Dispatcher
static class
NoTriggerOrganizationFolderProperty.PropertyMigrationImpl
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description NoTriggerOrganizationFolderProperty(String branches)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getBranches()
NoTriggerMultiBranchQueueDecisionHandler.SuppressionStrategy
getStrategy()
Returns a strategy which determines which builds should be suppressed.String
getTriggeredBranchesRegex()
Returns a regular expressions which determines which builds should be scheduled.void
setStrategy(NoTriggerMultiBranchQueueDecisionHandler.SuppressionStrategy strategy)
-
-
-
Constructor Detail
-
NoTriggerOrganizationFolderProperty
@DataBoundConstructor public NoTriggerOrganizationFolderProperty(String branches)
-
-
Method Detail
-
getBranches
public String getBranches()
-
getTriggeredBranchesRegex
@NonNull public String getTriggeredBranchesRegex()
Description copied from interface:NoTriggerMultiBranchQueueDecisionHandler.NoTriggerProperty
Returns a regular expressions which determines which builds should be scheduled.- Specified by:
getTriggeredBranchesRegex
in interfaceNoTriggerMultiBranchQueueDecisionHandler.NoTriggerProperty
- Returns:
- the branch name regular expression.
-
getStrategy
@NonNull public NoTriggerMultiBranchQueueDecisionHandler.SuppressionStrategy getStrategy()
Description copied from interface:NoTriggerMultiBranchQueueDecisionHandler.NoTriggerProperty
Returns a strategy which determines which builds should be suppressed.- Specified by:
getStrategy
in interfaceNoTriggerMultiBranchQueueDecisionHandler.NoTriggerProperty
- Returns:
- the suppression strategy.
-
setStrategy
@DataBoundSetter public void setStrategy(NoTriggerMultiBranchQueueDecisionHandler.SuppressionStrategy strategy)
-
-