org.deduced.utilities
Interface Runner

All Known Implementing Classes:
AbstractRunner, InvokeNowRunner, NewThreadRunner, OnDemandRunner, SwingInvokeAndWaitRunner, SwingInvokeLaterRunner

public interface Runner

Abstract Runner

Author:
Steve McDuff

Method Summary
 void run(java.lang.Runnable runnable)
          invoke a runnable
 void runSilent(java.lang.Runnable runnable)
          invoke a runnable silently, hiding exceptions
 

Method Detail

run

void run(java.lang.Runnable runnable)
         throws java.lang.InterruptedException,
                java.lang.reflect.InvocationTargetException
invoke a runnable

Parameters:
runnable - the runnable item to invoke
Throws:
java.lang.InterruptedException - if we're interrupted while waiting for the event dispatching thread to finish executing runnable.run()
java.lang.reflect.InvocationTargetException - if an exception is thrown while running runnable

runSilent

void runSilent(java.lang.Runnable runnable)
invoke a runnable silently, hiding exceptions

Parameters:
runnable - the runnable to invoke