Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

Runtime Preferences

Martin Malina edited this page Mar 28, 2014 · 3 revisions

API / Abstract

Implementation

Test Implementation

Usage

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();
Clone this wiki locally