com.android.builder.tasks
Class JobContext<T>

java.lang.Object
  extended by com.android.builder.tasks.JobContext<T>

public class JobContext<T>
extends java.lang.Object

Contains contextual (and usually mutable) job data.


Constructor Summary
JobContext(T payload)
           
 
Method Summary
 long elapsed()
          Returns time spent processing this job so far.
 T getPayload()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JobContext

public JobContext(T payload)
Method Detail

getPayload

public T getPayload()

elapsed

public long elapsed()
Returns time spent processing this job so far.

Returns:
the real time spent.