org.modeshape.graph
Interface Graph.DestroyWorkspace

Enclosing class:
Graph

public static interface Graph.DestroyWorkspace

The interface used to destroy a workspace.


Method Summary
 boolean named(String workspaceName)
          Specify the name of the new workspace that is to be destroyed.
 

Method Detail

named

boolean named(String workspaceName)
Specify the name of the new workspace that is to be destroyed.

Parameters:
workspaceName - the name of the existing workspace that will be cloned to create the new workspace;
Returns:
true if the workspace was destroyed, or false otherwise
Throws:
IllegalArgumentException - if the name of the workspace is null
InvalidWorkspaceException - if there is no existing workspace with the supplied name


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