| | |
| | | * CDDL HEADER END |
| | | * |
| | | * |
| | | * Portions Copyright 2006 Sun Microsystems, Inc. |
| | | * Portions Copyright 2006-2007 Sun Microsystems, Inc. |
| | | */ |
| | | package org.opends.server.api.plugin; |
| | | |
| | | |
| | | |
| | | import static org.opends.server.loggers.Debug.*; |
| | | |
| | | |
| | | |
| | |
| | | */ |
| | | public class IntermediateResponsePluginResult |
| | | { |
| | | /** |
| | | * The fully-qualified name of this class for debugging purposes. |
| | | */ |
| | | private static final String CLASS_NAME = |
| | | "org.opends.server.api.plugin." + |
| | | "IntermediateResponsePluginResult"; |
| | | |
| | | |
| | | |
| | |
| | | boolean sendIntermediateResponse, |
| | | boolean continueOperation) |
| | | { |
| | | assert debugConstructor(CLASS_NAME, |
| | | String.valueOf(connectionTerminated), |
| | | String.valueOf(continuePluginProcessing), |
| | | String.valueOf(sendIntermediateResponse), |
| | | String.valueOf(continueOperation)); |
| | | |
| | | this.connectionTerminated = connectionTerminated; |
| | | this.continuePluginProcessing = continuePluginProcessing; |
| | |
| | | */ |
| | | public boolean connectionTerminated() |
| | | { |
| | | assert debugEnter(CLASS_NAME, "connectionTerminated"); |
| | | |
| | | return connectionTerminated; |
| | | } |
| | |
| | | */ |
| | | public boolean continuePluginProcessing() |
| | | { |
| | | assert debugEnter(CLASS_NAME, "continuePluginProcessing"); |
| | | |
| | | return continuePluginProcessing; |
| | | } |
| | |
| | | */ |
| | | public boolean sendIntermediateResponse() |
| | | { |
| | | assert debugEnter(CLASS_NAME, "sendIntermediateResponse"); |
| | | |
| | | return sendIntermediateResponse; |
| | | } |
| | |
| | | */ |
| | | public boolean continueOperation() |
| | | { |
| | | assert debugEnter(CLASS_NAME, "continueOperation"); |
| | | |
| | | return continueOperation; |
| | | } |
| | |
| | | */ |
| | | public String toString() |
| | | { |
| | | assert debugEnter(CLASS_NAME, "toString"); |
| | | |
| | | StringBuilder buffer = new StringBuilder(); |
| | | toString(buffer); |
| | |
| | | */ |
| | | public void toString(StringBuilder buffer) |
| | | { |
| | | assert debugEnter(CLASS_NAME, "toString", |
| | | "java.lang.StringBuilder"); |
| | | |
| | | buffer.append("IntermediateResponsePluginResult(" + |
| | | "connectionTerminated="); |