org.jenkins.ci.plugins.keyboard_shortcuts
Class ViewUtils

java.lang.Object
  extended by org.jenkins.ci.plugins.keyboard_shortcuts.ViewUtils

public final class ViewUtils
extends Object

Common utilities for Views.

Author:
Jesse Farinacci

Method Summary
static Collection<hudson.model.View> getAllViews()
           
static net.sf.json.JSONArray getAllViewsAsJsonArray()
           
static hudson.model.View getView()
           
protected static hudson.model.View getView(org.kohsuke.stapler.StaplerRequest currentRequest)
           
protected static net.sf.json.JSONObject toJSONObject(String displayName, String url, int idx)
           
static net.sf.json.JSONObject toJSONObject(hudson.model.View view, int idx)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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.