-
Notifications
You must be signed in to change notification settings - Fork 43
Runtime Preferences
Martin Malina edited this page Mar 28, 2014
·
3 revisions
Instantiate Runtime Preference Page
RuntimePreferencePage runtimePreferencePage = new RuntimePreferencePage();
Open Runtime Preferences page
runtimePreferencePage.open();
Remove all defined runtimes
runtimePreferencePage.removeAllRuntimes();
runtimePreferencePage.ok();
Add new runtime
NewRuntimeWizardPage wizardPage = runtimePreferencePage.addRuntime().getFirstPage();
wizardPage.selectType(SERVER_PATH, SERVER_NAME);
wizardPage.getWizardDialog().finish();
runtimePreferencePage.ok();
Get all defined runtimes
List<Runtime> runtimes = runtimePreferencePage.getServerRuntimes();