Package hudson.plugins.android_emulator.AndroidEmulator

Examples of hudson.plugins.android_emulator.AndroidEmulator.DescriptorImpl


     */
    protected static AndroidSdk getAndroidSdk(AbstractBuild<?, ?> build, Launcher launcher,
            BuildListener listener) throws IOException, InterruptedException {
        boolean shouldInstallSdk = true;
        boolean keepInWorkspace = false;
        DescriptorImpl descriptor = Hudson.getInstance().getDescriptorByType(DescriptorImpl.class);
        if (descriptor != null) {
            shouldInstallSdk = descriptor.shouldInstallSdk;
            keepInWorkspace = descriptor.shouldKeepInWorkspace;
        }

View Full Code Here


        if (desiredHash == null || desiredHash.contains("$")) {
            return null;
        }

        // If the AndroidEmulator uses workspace-local emulators, we don't care.
        DescriptorImpl descriptor = Hudson.getInstance().getDescriptorByType(DescriptorImpl.class);
        if (descriptor != null && descriptor.shouldKeepInWorkspace) {
          return null;
        }

        // Check for builds in the queue which have the same emulator config as this task
View Full Code Here

     * Retrieves the configured Android SDK root directory.
     *
     * @return The configured Android SDK root, if any. May include un-expanded variables.
     */
    public static String getConfiguredAndroidHome() {
        DescriptorImpl descriptor = Hudson.getInstance().getDescriptorByType(DescriptorImpl.class);
        if (descriptor != null) {
            return descriptor.androidHome;
        }
        return null;
    }
View Full Code Here

TOP

Related Classes of hudson.plugins.android_emulator.AndroidEmulator.DescriptorImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.