Package com.hybris.cockpitng.lazyloading
Interface LazyTaskResult<LAZY_DATA>
-
- Type Parameters:
LAZY_DATA- type of result
- All Known Implementing Classes:
DefaultLazyTaskResult
public interface LazyTaskResult<LAZY_DATA>Wrapper class for handling success/failure result LAZY_DATA
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LAZY_DATAget()Getter method for resultbooleanisSuccess()
-
-
-
Method Detail
-
get
LAZY_DATA get()
Getter method for result- Returns:
- Nullable LAZY_DATA
-
isSuccess
boolean isSuccess()
- Returns:
- Success when result is valid
-
-