org.jenkins.ci.plugins.keyboard_shortcuts
Class JobUtils
java.lang.Object
org.jenkins.ci.plugins.keyboard_shortcuts.JobUtils
public final class JobUtils
- extends Object
Common utilities for Views.
- Author:
- Jesse Farinacci
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getAllJobs
public static Collection<hudson.model.Item> getAllJobs()
getAllJobsAsJsonArray
public static net.sf.json.JSONArray getAllJobsAsJsonArray()
getJob
public static hudson.model.TopLevelItem getJob()
getJob
public static hudson.model.TopLevelItem getJob(org.kohsuke.stapler.StaplerRequest currentRequest)
getJobName
public static String getJobName()
getJobName
public static String getJobName(hudson.model.Item item)
toJSONObject
public static net.sf.json.JSONObject toJSONObject(hudson.model.Item job,
int idx)
toJSONObject
protected static net.sf.json.JSONObject toJSONObject(String url,
String displayName,
int idx)
Copyright © 2004-2012. All Rights Reserved.