src/main/java/org/jenkinsci/plugins/awsdevicefarm/AWSDeviceFarmRecorder.java
@SuppressWarnings("unused")
        public ListBoxModel doFillAppiumVersionJunitItems(@QueryParameter String currentAppiumVersion) {
            List<ListBoxModel.Option> entries = new ArrayList<ListBoxModel.Option>();
            ArrayList<String> appiumVersions = new ArrayList<String>();
            appiumVersions.add(APPIUM_VERSION_1_4_16);
            appiumVersions.add(APPIUM_VERSION_1_6_3);
            appiumVersions.add(APPIUM_VERSION_1_6_5);
            appiumVersions.add(APPIUM_VERSION_1_7_1);
            appiumVersions.add(APPIUM_VERSION_1_7_2);
            appiumVersions.add(APPIUM_VERSION_1_9_1);
            for (String appiumVersion: appiumVersions) {
                entries.add(new ListBoxModel.Option(appiumVersion, appiumVersion, appiumVersion.equals(currentAppiumVersion)));
            }
            return new ListBoxModel(entries);
        }
/**
         * Populate the project drop-down Appium Version.
         *
         * @return The ListBoxModel for the UI.
         */
Populate the project drop-down Appium Version.
@return The ListBoxModel for the UI.
Populate the project drop - down Appium Version . @return The ListBoxModel for the UI .
@SuppressWarnings("unused")
        public ListBoxModel doFillAppiumVersionJunitItems(@QueryParameter String currentAppiumVersion) {
            List<ListBoxModel.Option> entries = new ArrayList<ListBoxModel.Option>();
            ArrayList<String> appiumVersions = new ArrayList<String>();
            appiumVersions.add(APPIUM_VERSION_1_4_16);
            appiumVersions.add(APPIUM_VERSION_1_6_3);
            appiumVersions.add(APPIUM_VERSION_1_6_5);
            appiumVersions.add(APPIUM_VERSION_1_7_1);
            appiumVersions.add(APPIUM_VERSION_1_7_2);
            appiumVersions.add(APPIUM_VERSION_1_9_1);
            for (String appiumVersion: appiumVersions) {
                entries.add(new ListBoxModel.Option(appiumVersion, appiumVersion, appiumVersion.equals(currentAppiumVersion)));
            }
            return new ListBoxModel(entries);
        }
@ SuppressWarnings ( "unused" ) public ListBoxModel doFillAppiumVersionJunitItems ( @ QueryParameter String currentAppiumVersion ) { List < ListBoxModel . Option > entries = new ArrayList < ListBoxModel . Option > ( ) ; ArrayList < String > appiumVersions = new ArrayList < String > ( ) ; appiumVersions . add ( APPIUM_VERSION_1_4_16 ) ; appiumVersions . add ( APPIUM_VERSION_1_6_3 ) ; appiumVersions . add ( APPIUM_VERSION_1_6_5 ) ; appiumVersions . add ( APPIUM_VERSION_1_7_1 ) ; appiumVersions . add ( APPIUM_VERSION_1_7_2 ) ; appiumVersions . add ( APPIUM_VERSION_1_9_1 ) ; for ( String appiumVersion : appiumVersions ) { entries . add ( new ListBoxModel . Option ( appiumVersion , appiumVersion , appiumVersion . equals ( currentAppiumVersion ) ) ) ; } return new ListBoxModel ( entries ) ; }
Populate the project drop-down Appium Version.
Populate the project drop - down Appium Version .