| <!DOCTYPE HTML> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (11.0.8) on Thu Oct 22 13:40:13 CDT 2020 --> |
| <title>Graph (Jetty :: Javadoc Build 11.0.0.beta3 API)</title> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <meta name="dc.created" content="2020-10-22"> |
| <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../../../jquery/jquery-ui.css" title="Style"> |
| <script type="text/javascript" src="../../../../../script.js"></script> |
| <script type="text/javascript" src="../../../../../jquery/jszip/dist/jszip.min.js"></script> |
| <script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script> |
| <!--[if IE]> |
| <script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script> |
| <![endif]--> |
| <script type="text/javascript" src="../../../../../jquery/jquery-3.3.1.js"></script> |
| <script type="text/javascript" src="../../../../../jquery/jquery-migrate-3.0.1.js"></script> |
| <script type="text/javascript" src="../../../../../jquery/jquery-ui.js"></script> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="Graph (Jetty :: Javadoc Build 11.0.0.beta3 API)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10}; |
| var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| var pathtoroot = "../../../../../"; |
| var useModuleDirectories = true; |
| loadScripts(document, 'script');</script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <header role="banner"> |
| <nav role="navigation"> |
| <div class="fixedNav"> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a id="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a id="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../index.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/Graph.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../../allclasses.html">All Classes</a></li> |
| </ul> |
| <ul class="navListSearch"> |
| <li><label for="search">SEARCH:</label> |
| <input type="text" id="search" value="search" disabled="disabled"> |
| <input type="reset" id="reset" value="reset" disabled="disabled"> |
| </li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li>Field | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a id="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| </div> |
| <div class="navPadding"> </div> |
| <script type="text/javascript"><!-- |
| $('.navPadding').css('padding-top', $('.fixedNav').css("height")); |
| //--> |
| </script> |
| </nav> |
| </header> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <main role="main"> |
| <div class="header"> |
| <div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">org.eclipse.jetty.deploy.graph</a></div> |
| <h2 title="Class Graph" class="title">Class Graph</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li>java.lang.Object</li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.eclipse.jetty.deploy.graph.Graph</li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>Direct Known Subclasses:</dt> |
| <dd><code><a href="../AppLifeCycle.html" title="class in org.eclipse.jetty.deploy">AppLifeCycle</a></code></dd> |
| </dl> |
| <hr> |
| <pre>public class <span class="typeNameLabel">Graph</span> |
| extends java.lang.Object</pre> |
| <div class="block">Basic directed graph implementation</div> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="constructor.summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="memberSummary"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Constructor</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr class="altColor"> |
| <th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E()">Graph</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| </section> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="method.summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="memberSummary"> |
| <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#addEdge(java.lang.String,java.lang.String)">addEdge</a></span>​(java.lang.String from, |
| java.lang.String to)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#addEdge(org.eclipse.jetty.deploy.graph.Edge)">addEdge</a></span>​(<a href="Edge.html" title="class in org.eclipse.jetty.deploy.graph">Edge</a> edge)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#addNode(org.eclipse.jetty.deploy.graph.Node)">addNode</a></span>​(<a href="Node.html" title="class in org.eclipse.jetty.deploy.graph">Node</a> node)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code>java.util.Set<<a href="Edge.html" title="class in org.eclipse.jetty.deploy.graph">Edge</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#findEdges(org.eclipse.jetty.deploy.graph.Node)">findEdges</a></span>​(<a href="Node.html" title="class in org.eclipse.jetty.deploy.graph">Node</a> node)</code></th> |
| <td class="colLast"> |
| <div class="block">Find all edges that are connected to the specific node, both as an outgoing <a href="Edge.html#getFrom()"><code>Edge.getFrom()</code></a> or incoming |
| <a href="Edge.html#getTo()"><code>Edge.getTo()</code></a> end point.</div> |
| </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code>java.util.Set<<a href="Edge.html" title="class in org.eclipse.jetty.deploy.graph">Edge</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#findEdgesFrom(org.eclipse.jetty.deploy.graph.Node)">findEdgesFrom</a></span>​(<a href="Node.html" title="class in org.eclipse.jetty.deploy.graph">Node</a> from)</code></th> |
| <td class="colLast"> |
| <div class="block">Find all edges that are connected <a href="Edge.html#getFrom()"><code>Edge.getFrom()</code></a> the specific node.</div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code>java.util.Set<<a href="Edge.html" title="class in org.eclipse.jetty.deploy.graph">Edge</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getEdges()">getEdges</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code><a href="Node.html" title="class in org.eclipse.jetty.deploy.graph">Node</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getNodeByName(java.lang.String)">getNodeByName</a></span>​(java.lang.String name)</code></th> |
| <td class="colLast"> |
| <div class="block">Get the Node by Name.</div> |
| </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code>java.util.Set<<a href="Node.html" title="class in org.eclipse.jetty.deploy.graph">Node</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getNodes()">getNodes</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code><a href="Path.html" title="class in org.eclipse.jetty.deploy.graph">Path</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getPath(java.lang.String,java.lang.String)">getPath</a></span>​(java.lang.String nodeNameOrigin, |
| java.lang.String nodeNameDest)</code></th> |
| <td class="colLast"> |
| <div class="block">Convenience method for <a href="#getPath(org.eclipse.jetty.deploy.graph.Node,org.eclipse.jetty.deploy.graph.Node)"><code>getPath(Node, Node)</code></a></div> |
| </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code><a href="Path.html" title="class in org.eclipse.jetty.deploy.graph">Path</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getPath(org.eclipse.jetty.deploy.graph.Node,org.eclipse.jetty.deploy.graph.Node)">getPath</a></span>​(<a href="Node.html" title="class in org.eclipse.jetty.deploy.graph">Node</a> from, |
| <a href="Node.html" title="class in org.eclipse.jetty.deploy.graph">Node</a> to)</code></th> |
| <td class="colLast"> |
| <div class="block">Using BFS (Breadth First Search) return the path from a any arbitrary node to any other.</div> |
| </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#insertNode(org.eclipse.jetty.deploy.graph.Edge,java.lang.String)">insertNode</a></span>​(<a href="Edge.html" title="class in org.eclipse.jetty.deploy.graph">Edge</a> edge, |
| java.lang.String nodeName)</code></th> |
| <td class="colLast"> |
| <div class="block">Convenience method for <a href="#insertNode(org.eclipse.jetty.deploy.graph.Edge,org.eclipse.jetty.deploy.graph.Node)"><code>insertNode(Edge, Node)</code></a></div> |
| </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#insertNode(org.eclipse.jetty.deploy.graph.Edge,org.eclipse.jetty.deploy.graph.Node)">insertNode</a></span>​(<a href="Edge.html" title="class in org.eclipse.jetty.deploy.graph">Edge</a> edge, |
| <a href="Node.html" title="class in org.eclipse.jetty.deploy.graph">Node</a> node)</code></th> |
| <td class="colLast"> |
| <div class="block">Insert an arbitrary node on an existing edge.</div> |
| </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#removeEdge(java.lang.String,java.lang.String)">removeEdge</a></span>​(java.lang.String fromNodeName, |
| java.lang.String toNodeName)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#removeEdge(org.eclipse.jetty.deploy.graph.Edge)">removeEdge</a></span>​(<a href="Edge.html" title="class in org.eclipse.jetty.deploy.graph">Edge</a> edge)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i14" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#removeNode(org.eclipse.jetty.deploy.graph.Node)">removeNode</a></span>​(<a href="Node.html" title="class in org.eclipse.jetty.deploy.graph">Node</a> node)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i15" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setEdges(java.util.Set)">setEdges</a></span>​(java.util.Set<<a href="Edge.html" title="class in org.eclipse.jetty.deploy.graph">Edge</a>> edges)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i16" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setNodes(java.util.Set)">setNodes</a></span>​(java.util.Set<<a href="Node.html" title="class in org.eclipse.jetty.deploy.graph">Node</a>> nodes)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a id="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.Object</h3> |
| <code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a id="<init>()"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>Graph</h4> |
| <pre>public Graph()</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| <!-- ============ METHOD DETAIL ========== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a id="addEdge(org.eclipse.jetty.deploy.graph.Edge)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addEdge</h4> |
| <pre class="methodSignature">public void addEdge​(<a href="Edge.html" title="class in org.eclipse.jetty.deploy.graph">Edge</a> edge)</pre> |
| </li> |
| </ul> |
| <a id="addEdge(java.lang.String,java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addEdge</h4> |
| <pre class="methodSignature">public void addEdge​(java.lang.String from, |
| java.lang.String to)</pre> |
| </li> |
| </ul> |
| <a id="addNode(org.eclipse.jetty.deploy.graph.Node)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addNode</h4> |
| <pre class="methodSignature">public void addNode​(<a href="Node.html" title="class in org.eclipse.jetty.deploy.graph">Node</a> node)</pre> |
| </li> |
| </ul> |
| <a id="insertNode(org.eclipse.jetty.deploy.graph.Edge,java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>insertNode</h4> |
| <pre class="methodSignature">public void insertNode​(<a href="Edge.html" title="class in org.eclipse.jetty.deploy.graph">Edge</a> edge, |
| java.lang.String nodeName)</pre> |
| <div class="block">Convenience method for <a href="#insertNode(org.eclipse.jetty.deploy.graph.Edge,org.eclipse.jetty.deploy.graph.Node)"><code>insertNode(Edge, Node)</code></a></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>edge</code> - the edge to split and insert a node into</dd> |
| <dd><code>nodeName</code> - the name of the node to insert along the edge</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="insertNode(org.eclipse.jetty.deploy.graph.Edge,org.eclipse.jetty.deploy.graph.Node)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>insertNode</h4> |
| <pre class="methodSignature">public void insertNode​(<a href="Edge.html" title="class in org.eclipse.jetty.deploy.graph">Edge</a> edge, |
| <a href="Node.html" title="class in org.eclipse.jetty.deploy.graph">Node</a> node)</pre> |
| <div class="block">Insert an arbitrary node on an existing edge.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>edge</code> - the edge to split and insert a node into</dd> |
| <dd><code>node</code> - the node to insert along the edge</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="findEdges(org.eclipse.jetty.deploy.graph.Node)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>findEdges</h4> |
| <pre class="methodSignature">public java.util.Set<<a href="Edge.html" title="class in org.eclipse.jetty.deploy.graph">Edge</a>> findEdges​(<a href="Node.html" title="class in org.eclipse.jetty.deploy.graph">Node</a> node)</pre> |
| <div class="block">Find all edges that are connected to the specific node, both as an outgoing <a href="Edge.html#getFrom()"><code>Edge.getFrom()</code></a> or incoming |
| <a href="Edge.html#getTo()"><code>Edge.getTo()</code></a> end point.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>node</code> - the node with potential end points</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the set of edges connected to the node</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="findEdgesFrom(org.eclipse.jetty.deploy.graph.Node)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>findEdgesFrom</h4> |
| <pre class="methodSignature">public java.util.Set<<a href="Edge.html" title="class in org.eclipse.jetty.deploy.graph">Edge</a>> findEdgesFrom​(<a href="Node.html" title="class in org.eclipse.jetty.deploy.graph">Node</a> from)</pre> |
| <div class="block">Find all edges that are connected <a href="Edge.html#getFrom()"><code>Edge.getFrom()</code></a> the specific node.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>from</code> - the node with potential edges from it</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the set of edges from the node</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getPath(java.lang.String,java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getPath</h4> |
| <pre class="methodSignature">public <a href="Path.html" title="class in org.eclipse.jetty.deploy.graph">Path</a> getPath​(java.lang.String nodeNameOrigin, |
| java.lang.String nodeNameDest)</pre> |
| <div class="block">Convenience method for <a href="#getPath(org.eclipse.jetty.deploy.graph.Node,org.eclipse.jetty.deploy.graph.Node)"><code>getPath(Node, Node)</code></a></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>nodeNameOrigin</code> - the name of the node to the path origin.</dd> |
| <dd><code>nodeNameDest</code> - the name of the node to the path destination.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the path to take</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getPath(org.eclipse.jetty.deploy.graph.Node,org.eclipse.jetty.deploy.graph.Node)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getPath</h4> |
| <pre class="methodSignature">public <a href="Path.html" title="class in org.eclipse.jetty.deploy.graph">Path</a> getPath​(<a href="Node.html" title="class in org.eclipse.jetty.deploy.graph">Node</a> from, |
| <a href="Node.html" title="class in org.eclipse.jetty.deploy.graph">Node</a> to)</pre> |
| <div class="block">Using BFS (Breadth First Search) return the path from a any arbitrary node to any other.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>from</code> - the node from</dd> |
| <dd><code>to</code> - the node to</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the path to take or null if there is no path.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getEdges()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getEdges</h4> |
| <pre class="methodSignature">public java.util.Set<<a href="Edge.html" title="class in org.eclipse.jetty.deploy.graph">Edge</a>> getEdges()</pre> |
| </li> |
| </ul> |
| <a id="getNodeByName(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getNodeByName</h4> |
| <pre class="methodSignature">public <a href="Node.html" title="class in org.eclipse.jetty.deploy.graph">Node</a> getNodeByName​(java.lang.String name)</pre> |
| <div class="block">Get the Node by Name.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>name</code> - the name to lookup</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the node if found or null if not found.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getNodes()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getNodes</h4> |
| <pre class="methodSignature">public java.util.Set<<a href="Node.html" title="class in org.eclipse.jetty.deploy.graph">Node</a>> getNodes()</pre> |
| </li> |
| </ul> |
| <a id="removeEdge(org.eclipse.jetty.deploy.graph.Edge)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>removeEdge</h4> |
| <pre class="methodSignature">public void removeEdge​(<a href="Edge.html" title="class in org.eclipse.jetty.deploy.graph">Edge</a> edge)</pre> |
| </li> |
| </ul> |
| <a id="removeEdge(java.lang.String,java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>removeEdge</h4> |
| <pre class="methodSignature">public void removeEdge​(java.lang.String fromNodeName, |
| java.lang.String toNodeName)</pre> |
| </li> |
| </ul> |
| <a id="removeNode(org.eclipse.jetty.deploy.graph.Node)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>removeNode</h4> |
| <pre class="methodSignature">public void removeNode​(<a href="Node.html" title="class in org.eclipse.jetty.deploy.graph">Node</a> node)</pre> |
| </li> |
| </ul> |
| <a id="setEdges(java.util.Set)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setEdges</h4> |
| <pre class="methodSignature">public void setEdges​(java.util.Set<<a href="Edge.html" title="class in org.eclipse.jetty.deploy.graph">Edge</a>> edges)</pre> |
| </li> |
| </ul> |
| <a id="setNodes(java.util.Set)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>setNodes</h4> |
| <pre class="methodSignature">public void setNodes​(java.util.Set<<a href="Node.html" title="class in org.eclipse.jetty.deploy.graph">Node</a>> nodes)</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </div> |
| </div> |
| </main> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <footer role="contentinfo"> |
| <nav role="navigation"> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a id="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a id="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../index.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/Graph.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../../allclasses.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li>Field | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a id="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| </nav> |
| <p class="legalCopy"><small>Copyright © 1995–2020 <a href="https://webtide.com">Webtide</a>. All rights reserved.</small></p> |
| </footer> |
| </body> |
| </html> |