Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.shell.commands
Class ScriptCommand

java.lang.Object
  extended by org.nuxeo.ecm.shell.commands.ScriptCommand
All Implemented Interfaces:
Command

public class ScriptCommand
extends java.lang.Object
implements Command

Author:
Bogdan Stefanescu

Constructor Summary
ScriptCommand()
           
 
Method Summary
 java.lang.Object eval(java.lang.String path, javax.script.ScriptContext ctx)
           
 void printHelp(java.io.PrintStream out)
           
 void run(CommandLine cmdLine)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScriptCommand

public ScriptCommand()
Method Detail

printHelp

public void printHelp(java.io.PrintStream out)

run

public void run(CommandLine cmdLine)
         throws java.lang.Exception
Specified by:
run in interface Command
Throws:
java.lang.Exception

eval

public java.lang.Object eval(java.lang.String path,
                             javax.script.ScriptContext ctx)
                      throws javax.script.ScriptException
Throws:
javax.script.ScriptException

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.