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 .