@Extension public class RunDecider extends hudson.model.Queue.QueueDecisionHandler implements PluginConstants
Modifier and Type | Field and Description |
---|---|
protected static Logger |
log |
CASCADE_PROJECT_ICON, CASCADE_PROJECT_NAME, CASCADE_PROJECT_PRONOUN, LAYOUT_ACTION_ICON, LAYOUT_ACTION_NAME, LAYOUT_ACTION_URL, LOGGER_PREFIX, MEMBER_ACTION_ICON, MEMBER_ACTION_NAME, MEMBER_ACTION_URL, MEMBER_GRAPH_NAME, MEMBER_VIEW_ICON, MEMBER_VIEW_NAME, MEMBER_VIEW_URL, PLUGIN_HELP, PLUGIN_ICON, PLUGIN_ID, PLUGIN_IMAGES, PLUGIN_IMAGES_16, PLUGIN_IMAGES_24, PLUGIN_IMAGES_32, PLUGIN_IMAGES_48, PLUGIN_NAME, PLUGIN_URL
Constructor and Description |
---|
RunDecider() |
Modifier and Type | Method and Description |
---|---|
static void |
log(String text) |
static boolean |
queueHas(hudson.model.AbstractProject<?,?> project)
Verify if project is present in the build queue.
|
static String |
render(List<hudson.model.Action> actionList)
Render action list for logging.
|
static void |
report(ProjectIdentity identity)
Report family projects.
|
static void |
report(ProjectIdentity identity,
hudson.model.AbstractProject<?,?> project,
List<hudson.model.Action> actionList,
String message)
Report decision in jenkins log and instance log.
|
static Map<String,hudson.model.AbstractProject> |
reportActiveFamilyProjects(ProjectIdentity source)
Report any cascade family projects are pending or building.
|
boolean |
shouldSchedule(hudson.model.Queue.Task task,
List<hudson.model.Action> actionList)
Concurrent execution mutual exclusion logic.
|
protected static final Logger log
public static void log(String text)
public static boolean queueHas(hudson.model.AbstractProject<?,?> project)
public static String render(List<hudson.model.Action> actionList)
public static void report(ProjectIdentity identity)
public static void report(ProjectIdentity identity, hudson.model.AbstractProject<?,?> project, List<hudson.model.Action> actionList, String message)
public static Map<String,hudson.model.AbstractProject> reportActiveFamilyProjects(ProjectIdentity source)
public boolean shouldSchedule(hudson.model.Queue.Task task, List<hudson.model.Action> actionList)
shouldSchedule
in class hudson.model.Queue.QueueDecisionHandler
Copyright © 2004-2013 Barchart, Inc.. All Rights Reserved.