org.jboss.dna.graph
Interface Graph.Executable<NodeType extends Node>

Type Parameters:
NodeType - the type of node that is returned
All Known Subinterfaces:
Graph.BatchConjunction
All Known Implementing Classes:
Graph.Batch
Enclosing class:
Graph

public static interface Graph.Executable<NodeType extends Node>

A interface used to execute the accumulated requests.

Author:
Randall Hauch

Method Summary
 Results execute()
          Stop accumulating the requests, submit them to the repository source, and return the results.
 

Method Detail

execute

Results execute()
Stop accumulating the requests, submit them to the repository source, and return the results.

Returns:
the results containing the requested information from the repository.
Throws:
PathNotFoundException - if a request used a node that did not exist
InvalidRequestException - if a request was not valid
InvalidWorkspaceException - if the workspace used in a request was not valid
UnsupportedRequestException - if a request was not supported by the source
RepositorySourceException - if an error occurs during execution
RuntimeException - if a runtime error occurs during execution


Copyright © 2008-2009 JBoss, a division of Red Hat. All Rights Reserved.