src/main/java/com/simpligility/maven/plugins/android/standalonemojos/DevicesMojo.java
public void execute() throws MojoExecutionException, MojoFailureException
    {
        doWithDevices( new DeviceCallback()
        {
            public void doWithDevice( final IDevice device ) throws MojoExecutionException
            {
                getLog().info( DeviceHelper.getDescriptiveNameWithStatus( device ) );
            }
        } );
    }
public void execute() throws MojoExecutionException, MojoFailureException
    {
        doWithDevices( new DeviceCallback()
        {
            public void doWithDevice( final IDevice device ) throws MojoExecutionException
            {
                getLog().info( DeviceHelper.getDescriptiveNameWithStatus( device ) );
            }
        } );
    }
public void execute ( ) throws MojoExecutionException , MojoFailureException { doWithDevices ( new DeviceCallback ( ) { public void doWithDevice ( final IDevice device ) throws MojoExecutionException { getLog ( ) . info ( DeviceHelper . getDescriptiveNameWithStatus ( device ) ) ; } } ) ; }
Display a list of attached devices.

@throws MojoExecutionException
@throws MojoFailureException
Display a list of attached devices .