org.jboss.dna.graph
Interface Graph.AsName<Next>

Type Parameters:
Next - The interface that is to be returned when this request is completed
All Known Subinterfaces:
Graph.Move<Next>
Enclosing class:
Graph

public static interface Graph.AsName<Next>

A component that defines a new name for a node.

Author:
Randall Hauch

Method Summary
 Next as(Name newName)
          Finish the request by specifying the new name.
 Next as(String newName)
          Finish the request by specifying the new name.
 

Method Detail

as

Next as(String newName)
Finish the request by specifying the new name.

Parameters:
newName - the new name
Returns:
the interface for additional requests or actions

as

Next as(Name newName)
Finish the request by specifying the new name.

Parameters:
newName - the new name
Returns:
the interface for additional requests or actions


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