Make class Javadoc for tools consistent.
| | |
| | | |
| | | |
| | | /** |
| | | * This class provides a tool that can be used to issue compare requests |
| | | * to the Directory Server. |
| | | * A tool that can be used to issue Compare requests to the Directory |
| | | * Server. |
| | | */ |
| | | public final class LDAPCompare extends ConsoleApplication |
| | | { |
| | |
| | | * @return The error code. |
| | | */ |
| | | |
| | | public static int mainCompare(String[] args) |
| | | static int mainCompare(String[] args) |
| | | { |
| | | return mainCompare(args, System.in, System.out, System.err); |
| | | } |
| | |
| | | * <CODE>null</CODE> if standard error is not needed. |
| | | * @return The error code. |
| | | */ |
| | | public static int mainCompare(String[] args, InputStream inStream, |
| | | static int mainCompare(String[] args, InputStream inStream, |
| | | OutputStream outStream, OutputStream errStream) |
| | | { |
| | | return new LDAPCompare(inStream, outStream, errStream).run(args); |
| | |
| | | |
| | | |
| | | /** |
| | | * This class provides a tool that can be used to issue modify requests |
| | | * to the Directory Server. |
| | | * A tool that can be used to issue update (Add/Delete/Modify/ModifyDN) |
| | | * requests to the Directory Server. |
| | | */ |
| | | public final class LDAPModify extends ConsoleApplication |
| | | { |
| | |
| | | * @return The error code. |
| | | */ |
| | | |
| | | public static int mainModify(String[] args) |
| | | static int mainModify(String[] args) |
| | | { |
| | | return mainModify(args, System.in, System.out, System.err); |
| | | } |
| | |
| | | * <CODE>null</CODE> if standard error is not needed. |
| | | * @return The error code. |
| | | */ |
| | | public static int mainModify(String[] args, InputStream inStream, |
| | | static int mainModify(String[] args, InputStream inStream, |
| | | OutputStream outStream, OutputStream errStream) |
| | | { |
| | | return new LDAPModify(inStream, outStream, errStream).run(args); |
| | |
| | | |
| | | import com.sun.opends.sdk.util.Message; |
| | | |
| | | |
| | | |
| | | /** |
| | | * This program provides a utility that uses the LDAP password modify extended |
| | | * operation to change the password for a user. It exposes the three primary |
| | | * A tool that can be used to issue LDAP password modify extended |
| | | * requests to the Directory Server. It exposes the three primary |
| | | * options available for this operation, which are: |
| | | * |
| | | * <UL> |
| | | * <LI>The user identity whose password should be changed.</LI> |
| | | * <LI>The current password for the user.</LI> |
| | | * <LI>The new password for the user. |
| | | * </UL> |
| | | * |
| | | * All of these are optional components that may be included or omitted from the |
| | | * request. |
| | | * All of these are optional components that may be included or omitted |
| | | * from the request. |
| | | */ |
| | | public class LDAPPasswordModify extends ConsoleApplication |
| | | { |
| | |
| | | * @return An integer value of zero if everything completed successfully, or |
| | | * a nonzero value if an error occurred. |
| | | */ |
| | | public static int mainPasswordModify(String[] args) |
| | | static int mainPasswordModify(String[] args) |
| | | { |
| | | return mainPasswordModify(args, System.in, System.out, System.err); |
| | | } |
| | |
| | | * <CODE>null</CODE> if standard error is not needed. |
| | | * @return The error code. |
| | | */ |
| | | public static int mainPasswordModify(String[] args, InputStream inStream, |
| | | static int mainPasswordModify(String[] args, InputStream inStream, |
| | | OutputStream outStream, OutputStream errStream) |
| | | { |
| | | return new LDAPPasswordModify(inStream, outStream, errStream).run(args); |
| | |
| | | |
| | | |
| | | /** |
| | | * This class provides a tool that can be used to issue search requests |
| | | * to the Directory Server. |
| | | * A tool that can be used to issue Search requests to the Directory |
| | | * Server. |
| | | */ |
| | | public final class LDAPSearch extends ConsoleApplication |
| | | { |
| | |
| | | * @return The error code. |
| | | */ |
| | | |
| | | public static int mainSearch(String[] args) |
| | | static int mainSearch(String[] args) |
| | | { |
| | | return mainSearch(args, true, System.in, System.out, System.err); |
| | | } |
| | |
| | | * <CODE>null</CODE> if standard error is not needed. |
| | | * @return The error code. |
| | | */ |
| | | public static int mainSearch(String[] args, InputStream inStream, |
| | | static int mainSearch(String[] args, InputStream inStream, |
| | | OutputStream outStream, OutputStream errStream) |
| | | { |
| | | return mainSearch(args, true, inStream, outStream, errStream); |
| | |
| | | * @return The error code. |
| | | */ |
| | | |
| | | public static int mainSearch(String[] args, |
| | | static int mainSearch(String[] args, |
| | | boolean returnMatchingEntries, InputStream inStream, |
| | | OutputStream outStream, OutputStream errStream) |
| | | { |
| | |
| | | import com.sun.opends.sdk.util.Message; |
| | | |
| | | |
| | | |
| | | /** |
| | | * Modrate benchmarking tool. |
| | | * A load generation tool that can be used to load a Directory Server |
| | | * with Modify requests using one or more LDAP connections. |
| | | */ |
| | | public final class ModRate extends ConsoleApplication |
| | | { |
| | |
| | | |
| | | |
| | | /** |
| | | * The main method for SearchRate tool. |
| | | * The main method for ModRate tool. |
| | | * |
| | | * @param args |
| | | * The command-line arguments provided to this program. |
| | |
| | | |
| | | /** |
| | | * Parses the provided command-line arguments and uses that |
| | | * information to run the ldapsearch tool. |
| | | * information to run the modrate tool. |
| | | * |
| | | * @param args |
| | | * The command-line arguments provided to this program. |
| | | * @return The error code. |
| | | */ |
| | | |
| | | public static int mainSearchRate(String[] args) |
| | | static int mainModRate(String[] args) |
| | | { |
| | | return mainModRate(args, System.in, System.out, System.err); |
| | | } |
| | |
| | | |
| | | /** |
| | | * Parses the provided command-line arguments and uses that |
| | | * information to run the ldapsearch tool. |
| | | * information to run the modrate tool. |
| | | * |
| | | * @param args |
| | | * The command-line arguments provided to this program. |
| | |
| | | * @return The error code. |
| | | */ |
| | | |
| | | public static int mainModRate(String[] args, InputStream inStream, |
| | | static int mainModRate(String[] args, InputStream inStream, |
| | | OutputStream outStream, OutputStream errStream) |
| | | |
| | | { |
| | |
| | | |
| | | |
| | | /** |
| | | * Searchrate benchmarking tool. |
| | | * A load generation tool that can be used to load a Directory Server |
| | | * with Search requests using one or more LDAP connections. |
| | | */ |
| | | public final class SearchRate extends ConsoleApplication |
| | | { |
| | |
| | | * @return The error code. |
| | | */ |
| | | |
| | | public static int mainSearchRate(String[] args) |
| | | static int mainSearchRate(String[] args) |
| | | { |
| | | return mainSearchRate(args, System.in, System.out, System.err); |
| | | } |
| | |
| | | * @return The error code. |
| | | */ |
| | | |
| | | public static int mainSearchRate(String[] args, InputStream inStream, |
| | | static int mainSearchRate(String[] args, InputStream inStream, |
| | | OutputStream outStream, OutputStream errStream) |
| | | |
| | | { |