Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.modeshape.graph
Interface Graph.CreateWorkspace

All Superinterfaces:
  Graph.NameWorkspace

Enclosing class:
  Graph

    public static interface Graph.CreateWorkspace

extends Graph.NameWorkspace

The interface used to create a new workspace.

Method Summary
`Graph.NameWorkspace` | `clonedFrom(String originalWorkspaceName)` Specify that the new workspace should be initialized as a clone of another existing workspace.

Methods inherited from interface org.modeshape.graph.Graph.NameWorkspace
`named, namedSomethingLike`

Method Detail

### clonedFrom

    Graph.NameWorkspace clonedFrom(String originalWorkspaceName)

  Specify that the new workspace should be initialized as a clone of another existing workspace.

  Parameters:
    `originalWorkspaceName` - the name of the existing workspace that will be cloned to create the new workspace;
  Returns:
    the interface that should be used to set the name of the new workspace; never null
  Throws:
    `IllegalArgumentException` - if the name of the original workspace is null
    `InvalidWorkspaceException` - if there is no such workspace with the supplied name

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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