|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nhindirect.dns.tools.DNSManager
public class DNSManager
Command line tool for managing DNS entries in the Direct Project configuration service.
The tool can either be run directly from the command prompt by passing arguments directly from the command line or can be run interactively by passing 0 parameters. The only exception is setting the URL to the configuration service. By default the manager uses "http://localhost:8081/config-service/ConfigurationService" as the config URL, but can be changed using the configURL command line parameters (it must be the first parameter on the command line).
DNSManager configURL http://someserver:8081/config-service/ConfigurationService
| Constructor Summary | |
|---|---|
DNSManager(URL configURL)
Constructor with the location of the configuration service. |
|
| Method Summary | |
|---|---|
static void |
main(String[] args)
Application entry point. |
boolean |
run(String[] args)
Either executes commands from the command line or runs the manager interactively. |
static void |
setExitOnEndCommands(boolean exit)
Determines if the application should exit when command processing is complete. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DNSManager(URL configURL)
configURL - URL containing the locations of the configuration service.| Method Detail |
|---|
public static void main(String[] args)
args - Command line arguments.public boolean run(String[] args)
args - Command arguments. If the arguments are empty, then the manager runs interactively.
public static void setExitOnEndCommands(boolean exit)
exit - True if the application should terminate on completing processing commands. False otherwise.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||