Class WorkManagerObject
java.lang.Object
org.nuxeo.ecm.webengine.model.impl.AbstractResource<ResourceTypeImpl>
org.nuxeo.ecm.restapi.server.management.WorkManagerObject
- Since:
- 11.3
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.nuxeo.ecm.webengine.model.impl.AbstractResource
checkGuard, dispose, getActiveAdapter, getAdapter, getContext, getFacets, getLinks, getModule, getName, getNext, getNextSegment, getPath, getPrevious, getTemplate, getTrailingPath, getType, getURL, getView, hasFacet, initialize, initialize, isAdapter, isInstanceOf, isRoot, newAdapter, newObject, redirect, setNext, setPrevious, setRoot, toString
-
Field Details
-
TIMEOUT_SECONDS_PARAM_KEY
- See Also:
-
-
Constructor Details
-
WorkManagerObject
public WorkManagerObject()
-
-
Method Details
-
launch
@POST @Produces("application/json") @Path("run-works-in-failure") public Blob launch(@FormParam("timeoutSeconds") String timeoutSeconds) throws OperationException Executes Works stored in the dead letter queue (DLQ) after failure.- Parameters:
timeoutSeconds
- a timeout for the works to end.- Returns:
- The result of the rerun
- Throws:
OperationException
-