Package org.nuxeo.ecm.core.work.api
Class WorkSchedulePath
- java.lang.Object
-
- org.nuxeo.ecm.core.work.api.WorkSchedulePath
-
- All Implemented Interfaces:
Serializable
@MXBean public class WorkSchedulePath extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
WorkSchedulePath.Trace
-
Field Summary
Fields Modifier and Type Field Description protected static Boolean
captureStack
static WorkSchedulePath
EMPTY
protected static ThreadLocal<Work>
enteredLocal
static Log
log
protected String
name
protected String
parentPath
protected WorkSchedulePath.Trace
scheduleStackTrace
-
Constructor Summary
Constructors Modifier Constructor Description protected
WorkSchedulePath()
protected
WorkSchedulePath(WorkSchedulePath parent, Work work)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getParentPath()
String
getPath()
WorkSchedulePath.Trace
getStack()
static void
handleEnter(Work work)
static void
handleReturn()
static boolean
isCaptureStackEnabled()
boolean
isRoot()
protected static String
name(Work work)
static void
newInstance(Work work)
protected static String
path(WorkSchedulePath parent)
static boolean
toggleCaptureStack()
String
toString()
-
-
-
Field Detail
-
enteredLocal
protected static final transient ThreadLocal<Work> enteredLocal
-
captureStack
protected static Boolean captureStack
-
EMPTY
public static final WorkSchedulePath EMPTY
-
parentPath
protected final String parentPath
-
scheduleStackTrace
protected final transient WorkSchedulePath.Trace scheduleStackTrace
-
-
Constructor Detail
-
WorkSchedulePath
protected WorkSchedulePath()
-
WorkSchedulePath
protected WorkSchedulePath(WorkSchedulePath parent, Work work)
-
-
Method Detail
-
toggleCaptureStack
public static boolean toggleCaptureStack()
-
isCaptureStackEnabled
public static boolean isCaptureStackEnabled()
-
newInstance
public static void newInstance(Work work)
-
handleEnter
public static void handleEnter(Work work)
-
handleReturn
public static void handleReturn()
-
path
protected static String path(WorkSchedulePath parent)
-
isRoot
public boolean isRoot()
-
getParentPath
public String getParentPath()
-
getStack
public WorkSchedulePath.Trace getStack()
-
-