info.magnolia.commands.impl
Class LogCommand
java.lang.Object
info.magnolia.commands.MgnlCommand
info.magnolia.commands.impl.LogCommand
- All Implemented Interfaces:
- Command, Cloneable
public class LogCommand
- extends MgnlCommand
Command outputting the value of "message" property into current log file. Used to monitor execution of workflow or other sorts of command chains.
LogCommand
public LogCommand()
execute
public boolean execute(Context ctx)
throws Exception
- Description copied from class:
MgnlCommand
- This is the actual method to be overridden in descendant classes.
- Specified by:
execute
in class MgnlCommand
- Throws:
Exception
getMsg
public String getMsg()
setMsg
public void setMsg(String msg)
getLog
public String getLog()
setLog
public void setLog(String log)
getLogger
protected org.slf4j.Logger getLogger()
release
public void release()
- Description copied from class:
MgnlCommand
- If a clone is passivated we call this method. Please clean up private
properties.
- Overrides:
release
in class MgnlCommand
Copyright © 2003-2014 Magnolia International Ltd.. All Rights Reserved.