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

kenneth_suter
22.48.2007 711ae26195f18829bdacb236e9844820e6db6049
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
commit711ae26195f18829bdacb236e9844820e6db6049
tree 880ba41b3e5781bf38ce21816649f92b67a2fd85 tree | zip | gz
parent 2e0fe09b00e45e23a3e48d098fef832339996afd 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
opendj-sdk/opends/src/messages/messages/tools.properties 44 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/tools/ExportLDIF.java 220 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/tools/ImportLDIF.java 266 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/tools/tasks/TaskScheduleInformation.java 65 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/tools/tasks/TaskSchedulingClient.java 208 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/tools/tasks/TaskTool.java 101 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/tools/tasks/package-info.java 37 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/util/args/LDAPConnectionArgumentParser.java 450 ●●●●● diff | view | raw | blame | history