org.apache.jackrabbit.standalone.cli.ext
Class CreateWorkspace

java.lang.Object
  extended by org.apache.jackrabbit.standalone.cli.ext.CreateWorkspace
All Implemented Interfaces:
org.apache.commons.chain.Command

public class CreateWorkspace
extends Object
implements org.apache.commons.chain.Command

Creates a Workspace.
Note that this Command uses Jackrabbit specific API.


Constructor Summary
CreateWorkspace()
           
 
Method Summary
 boolean execute(org.apache.commons.chain.Context ctx)
          
 String getNameKey()
           
 void setNameKey(String nameKey)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateWorkspace

public CreateWorkspace()
Method Detail

execute

public boolean execute(org.apache.commons.chain.Context ctx)
                throws Exception

Specified by:
execute in interface org.apache.commons.chain.Command
Throws:
Exception

getNameKey

public String getNameKey()
Returns:
the name key

setNameKey

public void setNameKey(String nameKey)
Parameters:
nameKey - the name key to set


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.