mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

kenneth_suter
22.48.2007 2d93a199604f010b176eac1e690272ea8fd61bf0
refs
author kenneth_suter <kenneth_suter@localhost>
Wednesday, August 22, 2007 18:48 +0200
committer kenneth_suter <kenneth_suter@localhost>
Wednesday, August 22, 2007 18:48 +0200
commit2d93a199604f010b176eac1e690272ea8fd61bf0
tree b30eaf1e0a87334788e086a4bc000ae58d0a2464 tree | zip | gz
parent d9c6377b8a813f15efe7413779c98746fbfd0ab7 view | diff
Expands the interface of both the export-ldif and import-ldif tools to include arguments that allow the task to be scheduled to run in the directory server's JVM through the task interface as well as through the existing method or operating within the running JVM.

- This introduces several classes that handle the plumbing of scheduling a task:

LDAPConnectionArgumentParser: an argument parser that comes pre-populated with the common options used to specify an LDAP connection and includes a method for creating a connection

TaskScheduleInformation: source of information important for creating the scheduled task entry in the backend

TaskScheduleClient: interacts on behalf of clients that wish to schedule tasks

TaskTool: base class that the tools can implement to handle decision about whether to operate locally or remotely

- For export-ldif I removed the short identifier -w for the wrap options since it conflicted with the -w password option.

- For import-ldif I removed the short identifiers -K for skipFile and -q for quiet since they conflicted with the options for specifying the keystore path and startTLS options respectively.
5 files added
3 files modified
1391 ■■■■■ changed files
opends/src/messages/messages/tools.properties 44 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/ExportLDIF.java 220 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/ImportLDIF.java 266 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/tasks/TaskScheduleInformation.java 65 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/tasks/TaskSchedulingClient.java 208 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/tasks/TaskTool.java 101 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/tasks/package-info.java 37 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/util/args/LDAPConnectionArgumentParser.java 450 ●●●●● diff | view | raw | blame | history