public final class JobUtils extends Object
View
s.Modifier and Type | Method and Description |
---|---|
static Collection<Item> |
getAllJobs() |
static net.sf.json.JSONArray |
getAllJobsAsJsonArray() |
static TopLevelItem |
getJob() |
static TopLevelItem |
getJob(org.kohsuke.stapler.StaplerRequest currentRequest) |
static String |
getJobName() |
static String |
getJobName(Item item) |
static net.sf.json.JSONObject |
toJSONObject(Item job,
int idx) |
protected static net.sf.json.JSONObject |
toJSONObject(String url,
String displayName,
int idx) |
public static Collection<Item> getAllJobs()
public static net.sf.json.JSONArray getAllJobsAsJsonArray()
public static TopLevelItem getJob()
public static TopLevelItem getJob(org.kohsuke.stapler.StaplerRequest currentRequest)
public static String getJobName()
public static net.sf.json.JSONObject toJSONObject(Item job, int idx)
Copyright © 2016–2019. All rights reserved.