public class AdminMain
extends java.lang.Object
| Constructor and Description |
|---|
AdminMain() |
| Modifier and Type | Method and Description |
|---|---|
static AdminServer |
launchAdminServer(AdminOptions options)
Create a new instance of the AdminServer given AdminOptions
|
static void |
main(java.lang.String[] args)
The main entry point to create the AdminServer.
|
static AdminOptions |
parseOptions(java.lang.String[] args)
Parse command line options from a String array into a type safe AdminOptions class.
|
public static void main(java.lang.String[] args)
args - command line argumentspublic static AdminOptions parseOptions(java.lang.String[] args)
args - command line argumentsInvalidCommandLineArgumentException - if there is an invalid command line argumentpublic static AdminServer launchAdminServer(AdminOptions options)
options - The options that select transport, analytics, and other infrastructure options.