This repository has been archived by the owner on Dec 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 44
Runtime Preferences
Vlado Pakan edited this page May 17, 2013
·
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();