org.clazzes.util.sched.impl
public abstract class CallbackHelper extends Object
Constructor and Description |
---|
CallbackHelper() |
public static <T> T getCallbackOfType(Object jobOrStatus, Class<T> type)
jobOrStatus
- A job or status object possibly implementing
HasCallback
type
- The type of the callback object to fetch.T
or null
,
if jobOrStatus
does not implement
HasCallback
or the callback object is not
assignable to type
.Copyright © 2014 Clazzes.org. All Rights Reserved.