@Extension public class LabelDashboardAction extends Object implements hudson.model.RootAction
Constructor and Description |
---|
LabelDashboardAction() |
Modifier and Type | Method and Description |
---|---|
org.kohsuke.stapler.HttpResponse |
doLabelsData() |
boolean |
getDashboardOrphanedJobsDetailedView() |
String |
getDisplayName() |
boolean |
getHasAtLeastOneCloud() |
String |
getIconFileName() |
List<hudson.model.AbstractProject<?,?>> |
getJobsWithNoLabels() |
List<LabelAtomData> |
getLabelsData()
This function scans all jobs and all nodes of this Jenkins instance
to extract all LabelAtom defined.
|
Collection<NodeData> |
getNodesData()
This function scans all jobs to find those that are
using nodes' self labels
|
static boolean |
getOnlyExclusiveNodes()
JENKINS-25188 - Orphaned jobs do not show jobs without label when all nodes set to Label restrictions
This function scans all nodes to determine if at least one is in non-exclusive mode,
meaning it can be used to run jobs with no labels.
|
Set<hudson.model.AbstractProject<?,?>> |
getOrphanedDefaultValueJobs() |
List<hudson.model.AbstractProject<?,?>> |
getOrphanedJobs() |
List<TriggeredJob> |
getOrphanedTriggeredJobs() |
boolean |
getRefresh() |
boolean |
getShowLabellessJobs() |
boolean |
getShowSingleNodeJobs() |
List<NodeData> |
getSingleNodeJobs() |
String |
getUrlName() |
public String getIconFileName()
getIconFileName
in interface hudson.model.Action
public String getDisplayName()
getDisplayName
in interface hudson.model.Action
getDisplayName
in interface hudson.model.ModelObject
public String getUrlName()
getUrlName
in interface hudson.model.Action
public boolean getDashboardOrphanedJobsDetailedView()
public boolean getShowSingleNodeJobs()
public boolean getShowLabellessJobs()
public boolean getRefresh()
public boolean getHasAtLeastOneCloud()
@StaplerDispatchable public org.kohsuke.stapler.HttpResponse doLabelsData()
public List<LabelAtomData> getLabelsData()
public static boolean getOnlyExclusiveNodes()
public List<hudson.model.AbstractProject<?,?>> getJobsWithNoLabels()
public List<TriggeredJob> getOrphanedTriggeredJobs()
public Set<hudson.model.AbstractProject<?,?>> getOrphanedDefaultValueJobs()
public List<hudson.model.AbstractProject<?,?>> getOrphanedJobs()
public Collection<NodeData> getNodesData()
Copyright © 2016–2020. All rights reserved.