public class PromiseState<T> extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PromiseState.State |
| Constructor and Description |
|---|
PromiseState() |
| Modifier and Type | Method and Description |
|---|---|
Throwable |
getReason() |
PromiseState.State |
getState() |
T |
getValue() |
PromiseState<T> |
setReason(Throwable reason) |
PromiseState<T> |
setState(PromiseState.State state) |
PromiseState<T> |
setValue(T value) |
public PromiseState.State getState()
public PromiseState<T> setState(PromiseState.State state)
public T getValue()
public PromiseState<T> setValue(T value)
public Throwable getReason()
public PromiseState<T> setReason(Throwable reason)
Copyright © 2013-2014 Englishtown. All Rights Reserved.