org.japura.task
Class RunnableWrapper

java.lang.Object
  extended by org.japura.task.Task<java.lang.Void>
      extended by org.japura.task.RunnableWrapper
All Implemented Interfaces:
java.lang.Runnable

public class RunnableWrapper
extends Task<java.lang.Void>

Copyright (C) 2011-2012 Carlos Eduardo Leite de Andrade

This library is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this program. If not, see www.gnu.org/licenses/

For more information, contact: www.japura.org

Author:
Carlos Eduardo Leite de Andrade

Constructor Summary
RunnableWrapper(java.lang.Runnable runnable)
           
 
Method Summary
 void doInBackground()
           
 
Methods inherited from class org.japura.task.Task
addNestedTask, cancel, canceled, done, equals, getBackgroundTimeSpent, getException, getId, getMessage, getName, getNestedTasks, getResult, getRootModel, getSession, getSession, handleException, hashCode, isCanceled, isExecuted, isSubmitted, isWaitForEDT, retry, rootModelTo, run, setException, setMessage, setName, setResult, setRootModel, setSession, setWaitForEDT, submit, submitted, toString, willExecute
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RunnableWrapper

public RunnableWrapper(java.lang.Runnable runnable)
Method Detail

doInBackground

public final void doInBackground()
                          throws java.lang.Exception
Overrides:
doInBackground in class Task<java.lang.Void>
Throws:
java.lang.Exception