public final class ServerManager extends Object
Modifier and Type | Method and Description |
---|---|
static String |
showAddServerInstanceWizard()
Displays the add server instance wizard and returns the ID of the added
server instance.
|
static String |
showAddServerInstanceWizard(Map<String,String> props)
Displays the add server instance wizard and returns the ID of the added
server instance.
|
static void |
showCustomizer(String serverInstanceID)
Deprecated.
|
@Deprecated public static void showCustomizer(String serverInstanceID)
CommonServerUIs.showCustomizer(org.netbeans.api.server.ServerInstance)
insteadserverInstanceID
- server instance which should be preselected, if
null the first server instance will be preselected.IllegalThreadStateException
- if the method is not called from the
event dispatch thread.public static String showAddServerInstanceWizard()
null
if the wizard was canceled.IllegalThreadStateException
- if the method is not called from the
event dispatch thread.public static String showAddServerInstanceWizard(Map<String,String> props)
props
- properties which will initialize wizard descriptor propertiesnull
if the wizard was canceled.IllegalThreadStateException
- if the method is not called from the
event dispatch thread.