private void addSeeds() {
		addStartSeeds();

		List<SiteNode> nodesInScope = Collections.emptyList();
		if (this.scanContext != null) {
			log.debug("Adding seed for Scan of all in context " + scanContext.getName());
			nodesInScope = this.scanContext.getNodesInContextFromSiteTree();
		} else if (justScanInScope) {
			log.debug("Adding seed for Scan of all in scope.");
			nodesInScope = Model.getSingleton().getSession().getNodesInScopeFromSiteTree();
		}

		if (!nodesInScope.isEmpty()) {
			for (SiteNode node : nodesInScope) {
				addSeed(node);
			}
		}
	}
private void addSeeds ( ) { addStartSeeds ( ) ; List < SiteNode > nodesInScope = Collections . emptyList ( ) ; if ( this . scanContext != null ) { log . debug ( "Adding seed for Scan of all in context " + scanContext . getName ( ) ) ; nodesInScope = this . scanContext . getNodesInContextFromSiteTree ( ) ; } else if ( justScanInScope ) { log . debug ( "Adding seed for Scan of all in scope." ) ; nodesInScope = Model . getSingleton ( ) . getSession ( ) . getNodesInScopeFromSiteTree ( ) ; } if ( ! nodesInScope . isEmpty ( ) ) { for ( SiteNode node : nodesInScope ) { addSeed ( node ) ; } } }
Adds the initial seeds, with following constraints:
<ul>
<li>If a {@link #scanContext context} is provided:
<ul>
<li>{@link #startURI Start URI}, if in context;</li>
<li>{@link #startNode Start node}, if in context;</li>
<li>All nodes in the context;</li>
</ul>
</li>
<li>If spidering just in {@link #justScanInScope scope}:
<ul>
<li>Start URI, if in scope;</li>
<li>Start node, if in scope;</li>
<li>All nodes in scope;</li>
</ul>
</li>
<li>If there's no context/scope restriction:
<ul>
<li>Start URI;</li>
<li>Start node, also:
<ul>
<li>Child nodes, if {@link #scanChildren spidering "recursively"}.</li>
</ul>
</ul>
</li>
</ul>

@see #addStartSeeds()