| | |
| | | * 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 PostOperationPluginResult |
| | | { |
| | | /** |
| | | * The fully-qualified name of this class for debugging purposes. |
| | | */ |
| | | private static final String CLASS_NAME = |
| | | "org.opends.server.api.plugin.PostOperationPluginResult"; |
| | | |
| | | |
| | | |
| | |
| | | public PostOperationPluginResult(boolean connectionTerminated, |
| | | boolean continuePluginProcessing) |
| | | { |
| | | assert debugConstructor(CLASS_NAME, |
| | | String.valueOf(connectionTerminated), |
| | | String.valueOf(continuePluginProcessing)); |
| | | |
| | | 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 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("PostOperationPluginResult(connectionTerminated="); |
| | | buffer.append(connectionTerminated); |