org.apache.jackrabbit.standalone.cli
Class SourceCommand

java.lang.Object
  extended by 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


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

Constructor Detail

SourceCommand

public SourceCommand()
Method Detail

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.