public class MessageCommand extends MgnlCommand
log
CONTINUE_PROCESSING, PROCESSING_COMPLETE
Constructor and Description |
---|
MessageCommand() |
Modifier and Type | Method and Description |
---|---|
boolean |
execute(Context context)
This is the actual method to be overridden in descendant classes.
|
String |
getI18nBasename() |
String |
getMessage() |
void |
release()
If a clone is passivated we call this method.
|
void |
setI18nBasename(String basename) |
void |
setMessage(String message) |
clone, execute, isEnabled, setEnabled
public boolean execute(Context context) throws Exception
MgnlCommand
execute
in class MgnlCommand
Exception
MgnlCommand.execute(info.magnolia.context.Context)
public String getMessage()
public void setMessage(String message)
message
- The message to set.public String getI18nBasename()
public void setI18nBasename(String basename)
basename
- The i18nBasename to set.public void release()
MgnlCommand
release
in class MgnlCommand
Copyright © 2003–2015 Magnolia International Ltd.. All rights reserved.