Class RunnablesRunnable
java.lang.Object
org.kuali.common.util.runnable.impl.RunnablesRunnable
- All Implemented Interfaces:
Runnable
Execute the list of
runnables supplied to this bean-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRunnablesRunnable(List<? extends Runnable> runnables) RunnablesRunnable(List<? extends Runnable> runnables, boolean skip) RunnablesRunnable(List<? extends Runnable> runnables, boolean skip, boolean timed) -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetTime(long millis) Given milliseconds, return milliseconds, seconds, minutes, hours, days, or years as appropriate.static StringgetTime(long millis, NumberFormat formatter) Given milliseconds, return milliseconds, seconds, minutes, hours, days, or years as appropriate.booleanisSkip()booleanisTimed()voidrun()
-
Field Details
-
SECOND
public static final double SECOND- See Also:
-
MINUTE
public static final double MINUTE- See Also:
-
HOUR
public static final double HOUR- See Also:
-
DAY
public static final double DAY- See Also:
-
YEAR
public static final double YEAR- See Also:
-
-
Constructor Details
-
RunnablesRunnable
-
RunnablesRunnable
-
RunnablesRunnable
-
-
Method Details
-
run
public void run() -
getrunnables
-
isSkip
public boolean isSkip() -
isTimed
public boolean isTimed() -
getTime
Given milliseconds, return milliseconds, seconds, minutes, hours, days, or years as appropriate. Note that years is approximate since the logic always assumes there are exactly 365 days per year. -
getTime
Given milliseconds, return milliseconds, seconds, minutes, hours, days, or years as appropriate. Note that years is approximate since the logic always assumes there are exactly 365 days per year.
-