org.jenkins.ci.plugins.keyboard_shortcuts
Class NodeUtils
java.lang.Object
org.jenkins.ci.plugins.keyboard_shortcuts.NodeUtils
public final class NodeUtils
- extends Object
Common utilities for Nodes.
- Author:
- Jesse Farinacci
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.