Class ViewBasedJobInclusionStrategy
- java.lang.Object
-
- jenkins.advancedqueue.jobinclusion.JobInclusionStrategy
-
- jenkins.advancedqueue.jobinclusion.strategy.ViewBasedJobInclusionStrategy
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<JobInclusionStrategy>
public class ViewBasedJobInclusionStrategy extends JobInclusionStrategy
- Since:
- 3.0
- Author:
- Magnus Sandberg
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ViewBasedJobInclusionStrategy.JobPattern
static class
ViewBasedJobInclusionStrategy.ViewBasedJobInclusionStrategyDescriptor
-
Nested classes/interfaces inherited from class jenkins.advancedqueue.jobinclusion.JobInclusionStrategy
JobInclusionStrategy.AbstractJobInclusionStrategyDescriptor<T extends JobInclusionStrategy>
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description ViewBasedJobInclusionStrategy(String viewName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
contains(DecisionLogger decisionLogger, Job<?,?> job)
String
getJobPattern()
String
getViewName()
boolean
isUseJobFilter()
void
setJobFilter(ViewBasedJobInclusionStrategy.JobPattern jobFilter)
void
setJobPattern(String jobPattern)
void
setUseJobFilter(boolean useJobFilter)
-
Methods inherited from class jenkins.advancedqueue.jobinclusion.JobInclusionStrategy
all, getDescriptor
-
-
-
-
Constructor Detail
-
ViewBasedJobInclusionStrategy
@DataBoundConstructor public ViewBasedJobInclusionStrategy(String viewName)
-
-
Method Detail
-
getViewName
public String getViewName()
-
isUseJobFilter
public boolean isUseJobFilter()
-
getJobPattern
public String getJobPattern()
-
setJobFilter
@DataBoundSetter public void setJobFilter(ViewBasedJobInclusionStrategy.JobPattern jobFilter)
-
setUseJobFilter
@DataBoundSetter public void setUseJobFilter(boolean useJobFilter)
-
setJobPattern
@DataBoundSetter public void setJobPattern(String jobPattern)
-
contains
public boolean contains(DecisionLogger decisionLogger, Job<?,?> job)
- Specified by:
contains
in classJobInclusionStrategy
-
-