View Javadoc
1   package com.simpligility.maven.plugins.android.standalonemojos;
2   
3   import com.simpligility.maven.plugins.android.AbstractEmulatorMojo;
4   
5   import org.apache.maven.plugin.MojoExecutionException;
6   import org.apache.maven.plugin.MojoFailureException;
7   import org.apache.maven.plugins.annotations.Mojo;
8   
9   /**
10   * EmulatorStartMojo can start the Android Emulator with a specified Android Virtual Device (avd).
11   *
12   * @author Manfred Moser - manfred@simpligility.com
13   */
14  @Mojo( name = "emulator-start", requiresProject = false )
15  public class EmulatorStartMojo extends AbstractEmulatorMojo
16  {
17  
18      /**
19       * Start the Android Emulator.
20       *
21       * @throws MojoExecutionException
22       * @throws MojoFailureException
23       */
24      public void execute() throws MojoExecutionException, MojoFailureException
25      {
26          startAndroidEmulator();
27      }
28  
29  }