org.apache.jackrabbit.standalone.cli.lock
Class AddLockToken
java.lang.Object
org.apache.jackrabbit.standalone.cli.lock.AddLockToken
- All Implemented Interfaces:
- org.apache.commons.chain.Command
public class AddLockToken
- extends Object
- implements org.apache.commons.chain.Command
Add the given Lock
token to the current Session
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AddLockToken
public AddLockToken()
execute
public boolean execute(org.apache.commons.chain.Context ctx)
throws Exception
-
- Specified by:
execute
in interface org.apache.commons.chain.Command
- Throws:
Exception
getTokenKey
public String getTokenKey()
- Returns:
- the token key
setTokenKey
public void setTokenKey(String tokenKey)
- Parameters:
tokenKey
- the token key to set
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.