org.jenkins.ci.plugins.keyboard_shortcuts
Class NodeUtils

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

public final class NodeUtils
extends Object

Common utilities for Nodes.

Author:
Jesse Farinacci

Method Summary
static List<hudson.model.Node> getAllNodes()
           
static net.sf.json.JSONArray getAllNodesAsJsonArray()
           
static net.sf.json.JSONObject toJSONObject(hudson.model.Node node, int idx)
           
protected static net.sf.json.JSONObject toJSONObject(String nodeName, String displayName, int idx)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getAllNodes

public static List<hudson.model.Node> getAllNodes()

getAllNodesAsJsonArray

public static net.sf.json.JSONArray getAllNodesAsJsonArray()

toJSONObject

public static net.sf.json.JSONObject toJSONObject(hudson.model.Node node,
                                                  int idx)

toJSONObject

protected static net.sf.json.JSONObject toJSONObject(String nodeName,
                                                     String displayName,
                                                     int idx)


Copyright © 2004-2012. All Rights Reserved.