com.octo.android.robospice
Class SpiceManager.SpiceManagerCommand<T>

java.lang.Object
  extended by com.octo.android.robospice.SpiceManager.SpiceManagerCommand<T>
All Implemented Interfaces:
Callable<T>
Direct Known Subclasses:
AddSpiceServiceListenerCommand, GetAllCacheKeysCommand, GetAllDataFromCacheCommand, GetDataFromCacheCommand, GetDateOfDataInCacheCommand, IsDataInCacheCommand, PutDataInCacheCommand, RemoveAllDataFromCacheCommand, RemoveDataClassFromCacheCommand, RemoveDataFromCacheCommand, RemoveSpiceServiceListenerCommand, SetFailOnCacheErrorCommand
Enclosing class:
SpiceManager

public abstract static class SpiceManager.SpiceManagerCommand<T>
extends Object
implements Callable<T>


Field Summary
protected  SpiceManager spiceManager
           
 
Constructor Summary
SpiceManager.SpiceManagerCommand(SpiceManager spiceManager)
           
 
Method Summary
 T call()
           
protected abstract  T executeWhenBound(SpiceService service)
           
 Exception getException()
           
 boolean isSuccessFull()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

spiceManager

protected SpiceManager spiceManager
Constructor Detail

SpiceManager.SpiceManagerCommand

public SpiceManager.SpiceManagerCommand(SpiceManager spiceManager)
Method Detail

call

public T call()
Specified by:
call in interface Callable<T>

executeWhenBound

protected abstract T executeWhenBound(SpiceService service)
                               throws Exception
Throws:
Exception

isSuccessFull

public boolean isSuccessFull()

getException

public Exception getException()


Copyright © 2012-2014. All Rights Reserved.