org.jenkins.ci.plugins.keyboard_shortcuts
Class ViewUtils
java.lang.Object
org.jenkins.ci.plugins.keyboard_shortcuts.ViewUtils
public final class ViewUtils
- 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 |
getAllViews
public static Collection<hudson.model.View> getAllViews()
getAllViewsAsJsonArray
public static net.sf.json.JSONArray getAllViewsAsJsonArray()
getView
public static hudson.model.View getView()
getView
protected static hudson.model.View getView(org.kohsuke.stapler.StaplerRequest currentRequest)
toJSONObject
protected static net.sf.json.JSONObject toJSONObject(String displayName,
String url,
int idx)
toJSONObject
public static net.sf.json.JSONObject toJSONObject(hudson.model.View view,
int idx)
Copyright © 2004-2012. All Rights Reserved.