Class VitroBackgroundThread.WorkLevelStamp
- java.lang.Object
-
- edu.cornell.mannlib.vitro.webapp.utils.threads.VitroBackgroundThread.WorkLevelStamp
-
- Enclosing class:
- VitroBackgroundThread
public static class VitroBackgroundThread.WorkLevelStamp extends Object
An immutable object that holds both the current work level and the time that it was set. Particular threads may want to assign additional state using zero or more "flags".
-
-
Constructor Summary
Constructors Constructor Description WorkLevelStamp(VitroBackgroundThread.WorkLevel level, String... flags)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<String>getFlags()VitroBackgroundThread.WorkLevelgetLevel()DategetSince()
-
-
-
Constructor Detail
-
WorkLevelStamp
public WorkLevelStamp(VitroBackgroundThread.WorkLevel level, String... flags)
-
-
Method Detail
-
getLevel
public VitroBackgroundThread.WorkLevel getLevel()
-
getSince
public Date getSince()
-
getFlags
public Collection<String> getFlags()
-
-