Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.runtime.deployment.preprocessor.install
Class CommandProcessorImpl

java.lang.Object
  extended by org.nuxeo.runtime.deployment.preprocessor.install.CommandProcessorImpl
All Implemented Interfaces:
CommandProcessor

public class CommandProcessorImpl
extends Object
implements CommandProcessor

Author:
Bogdan Stefanescu

Constructor Summary
CommandProcessorImpl()
           
 
Method Summary
 void exec(CommandContext ctx)
          Execute commands.
 List<Command> getCommands()
          Gets the list of commands to execute when install() is called.
 void setLogger(Log log)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandProcessorImpl

public CommandProcessorImpl()
Method Detail

getCommands

public List<Command> getCommands()
Description copied from interface: CommandProcessor
Gets the list of commands to execute when install() is called.

The returned list is editable so that you can add new commands or modify existing commands by modifying the returned list.

Specified by:
getCommands in interface CommandProcessor
Returns:
the list of commands to execute by this installer

exec

public void exec(CommandContext ctx)
Description copied from interface: CommandProcessor
Execute commands.

Specified by:
exec in interface CommandProcessor

setLogger

public void setLogger(Log log)
Specified by:
setLogger in interface CommandProcessor

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.