public class DocumentURLAction extends Object implements MessageAction
It expects the document to be in the context under the key "document" and the baseUrl at baseUrl. It puts the URL at key "url".
| Constructor and Description |
|---|
DocumentURLAction(String baseUrl) |
public DocumentURLAction(String baseUrl)
public boolean execute(ExecutionContext context) throws Exception
MessageActionIf it returns false, the following actions from the pipe are not executed.
execute in interface MessageActionExceptionExecutionContextpublic void reset(ExecutionContext context) throws Exception
reset in interface MessageActionExceptionCopyright © 2013 Nuxeo SA. All Rights Reserved.