edu.umd.cfar.lamp.apploader
Interface AttemptToPerformAction


public interface AttemptToPerformAction

A wrapper for a runnable. This is useful when you have to ask the user if it is a good idea to do x, for example. Also, you may want to do this in process or in a seperate thread.


Method Summary
 void attempt(java.lang.Runnable r)
          Try, or maybe try, to run the given command.
 

Method Detail

attempt

public void attempt(java.lang.Runnable r)
Try, or maybe try, to run the given command.

Parameters:
r - the thing to try to run, if you choose