Class PopDocument
- java.lang.Object
-
- org.nuxeo.ecm.automation.core.operations.stack.PopDocument
-
public class PopDocument extends Object
Pop a document from the context stack and restore the input from the poped document. If on the top of the stack there is no document an exception is thrown This operation contains dynamic logic so it should be handled in a special way by the UI tools to validate the chain (a Pop operation can succeed only if the last push operation has the same type as the pop)- Author:
- Bogdan Stefanescu
-
-
Field Summary
Fields Modifier and Type Field Description protected OperationContext
ctx
static String
ID
-
Constructor Summary
Constructors Constructor Description PopDocument()
-
-
-
Field Detail
-
ID
public static final String ID
- See Also:
- Constant Field Values
-
ctx
protected OperationContext ctx
-
-
Method Detail
-
run
public DocumentModel run() throws OperationException
- Throws:
OperationException
-
-