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 Object
implements Command

Author:
Bogdan Stefanescu

Constructor Summary
ScriptCommand()
           
 
Method Summary
 Object eval(String path, ScriptContext ctx)
           
 void printHelp(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(PrintStream out)

run

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

eval

public Object eval(String path,
                   ScriptContext ctx)
            throws ScriptException
Throws:
ScriptException

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.