T
- type of resultpublic class HandlerResult<T> extends Object
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.
|
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 © 2024. All rights reserved.