org.apache.jackrabbit.standalone.cli
Class SourceCommand
java.lang.Object
org.apache.jackrabbit.standalone.cli.SourceCommand
- All Implemented Interfaces:
- org.apache.commons.chain.Command
public class SourceCommand
- extends Object
- implements org.apache.commons.chain.Command
Executes a script from the given file
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SourceCommand
public SourceCommand()
getFileKey
public String getFileKey()
- Returns:
- Returns the file.
setFileKey
public void setFileKey(String file)
- Parameters:
file
- The file to set.
execute
public boolean execute(org.apache.commons.chain.Context ctx)
throws Exception
-
- Specified by:
execute
in interface org.apache.commons.chain.Command
- Throws:
Exception
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.