Class WorkManagerObject
- java.lang.Object
-
- org.nuxeo.ecm.webengine.model.impl.AbstractResource<ResourceTypeImpl>
-
- org.nuxeo.ecm.restapi.server.jaxrs.management.WorkManagerObject
-
public class WorkManagerObject extends AbstractResource<ResourceTypeImpl>
- Since:
- 11.3
-
-
Field Summary
Fields Modifier and Type Field Description static String
TIMEOUT_SECONDS_PARAM_KEY
-
Constructor Summary
Constructors Constructor Description WorkManagerObject()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Blob
launch(String timeoutSeconds)
Executes Works stored in the dead letter queue (DLQ) after failure.-
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 Detail
-
TIMEOUT_SECONDS_PARAM_KEY
public static final String TIMEOUT_SECONDS_PARAM_KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
launch
public Blob launch(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
-
-