org.ldaptive.handler
Class HandlerResult<T>

java.lang.Object
  extended by org.ldaptive.handler.HandlerResult<T>
Type Parameters:
T - type of result

public class HandlerResult<T>
extends Object

Handler result data.

Version:
$Revision: 2885 $ $Date: 2014-02-05 16:28:49 -0500 (Wed, 05 Feb 2014) $
Author:
Middleware Services

Constructor Summary
HandlerResult(T t)
          Creates a new handler result.
HandlerResult(T t, boolean b)
          Creates a new handler result.
 
Method Summary
 boolean getAbort()
          Returns whether the operation should be aborted.
 T getResult()
          Returns the result produced by a handler.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HandlerResult

public HandlerResult(T t)
Creates a new handler result.

Parameters:
t - produced by a handler

HandlerResult

public HandlerResult(T t,
                     boolean b)
Creates a new handler result.

Parameters:
t - produced by a handler
b - whether the operation should be aborted
Method Detail

getResult

public T getResult()
Returns the result produced by a handler.

Returns:
result

getAbort

public boolean getAbort()
Returns whether the operation should be aborted.

Returns:
whether the operation should be aborted


Copyright © 2003-2015 Virginia Tech. All Rights Reserved.