info.magnolia.module.data.commands
Class ImportCommand
java.lang.Object
info.magnolia.commands.MgnlCommand
info.magnolia.module.data.commands.ImportCommand
- All Implemented Interfaces:
- org.apache.commons.chain.Command
public class ImportCommand
- extends info.magnolia.commands.MgnlCommand
This command starts the specified importer.
- Version:
- $Revision$ ($Author$)
Fields inherited from interface org.apache.commons.chain.Command |
CONTINUE_PROCESSING, PROCESSING_COMPLETE |
Methods inherited from class info.magnolia.commands.MgnlCommand |
execute, isClone, isEnabled, setClone, setEnabled |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NODE_DATA_IMPORTER_NAME
public static final String NODE_DATA_IMPORTER_NAME
- See Also:
- Constant Field Values
importer
protected String importer
ImportCommand
public ImportCommand()
execute
public boolean execute(info.magnolia.context.Context ctx)
- This method retrieves the importer for the configured name and executes it.
- Specified by:
execute
in class info.magnolia.commands.MgnlCommand
- See Also:
Command.execute(org.apache.commons.chain.Context)
getImporter
public String getImporter()
setImporter
public void setImporter(String importer)
release
public void release()
- Overrides:
release
in class info.magnolia.commands.MgnlCommand
Copyright © 2012 Magnolia International Ltd.. All Rights Reserved.