Class RunnablesRunnable

java.lang.Object
org.kuali.common.util.runnable.impl.RunnablesRunnable
All Implemented Interfaces:
Runnable

public class RunnablesRunnable extends Object implements Runnable
Execute the list of runnables supplied to this bean
  • Field Details

  • Constructor Details

    • RunnablesRunnable

      public RunnablesRunnable(List<? extends Runnable> runnables)
    • RunnablesRunnable

      public RunnablesRunnable(List<? extends Runnable> runnables, boolean skip)
    • RunnablesRunnable

      public RunnablesRunnable(List<? extends Runnable> runnables, boolean skip, boolean timed)
  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable
    • getrunnables

      public List<Runnable> getrunnables()
    • isSkip

      public boolean isSkip()
    • isTimed

      public boolean isTimed()
    • getTime

      public static String getTime(long millis)
      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

      public static String getTime(long millis, NumberFormat formatter)
      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.