T
- type of resultpublic class HandlerResult<T> extends Object
Modifier and Type | Field and Description |
---|---|
private boolean |
abort
Whether the operation should be aborted.
|
private T |
result
Result produced by a handler.
|
Constructor and Description |
---|
HandlerResult(T t)
Creates a new handler result.
|
HandlerResult(T t,
boolean b)
Creates a new handler result.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getAbort()
Returns whether the operation should be aborted.
|
T |
getResult()
Returns the result produced by a handler.
|
private final T result
private final boolean abort
public HandlerResult(T t)
t
- produced by a handlerpublic HandlerResult(T t, boolean b)
t
- produced by a handlerb
- whether the operation should be abortedpublic T getResult()
public boolean getAbort()
Copyright © 2003-2019 Virginia Tech. All Rights Reserved.