mil.dod.th.ose.shell/src/mil/dod/th/ose/shell/DevicePowerCommands.java
@Descriptor("Displays all registered devices with the power manager")
    public void devs(final CommandSession session) throws IllegalArgumentException, PowerManagerException
    {
        final PrintStream out = session.getConsole();

        for (String name : m_DevicePowerManager.getDevices())
        {
            out.format("%s: is on? %s%n", name, m_DevicePowerManager.isOn(name));
        }
    }
/**
     * Displays the power management devices.
     * 
     * @param session
     *            provides access to the Gogo shell session
     * @throws PowerManagerException
     *             error thrown by power manager
     * @throws IllegalArgumentException
     *             if invalid name is given
     */
Displays the power management devices.

@param session
provides access to the Gogo shell session
@throws PowerManagerException
error thrown by power manager
@throws IllegalArgumentException
if invalid name is given
Displays the power management devices . @param session provides access to the Gogo shell session @throws PowerManagerException error thrown by power manager @throws IllegalArgumentException if invalid name is given
@Descriptor("Displays all registered devices with the power manager")
    public void devs(final CommandSession session) throws IllegalArgumentException, PowerManagerException
    {
        final PrintStream out = session.getConsole();
        for (String name : m_DevicePowerManager.getDevices())
        {
            out.format("%s: is on? %s%n", name, m_DevicePowerManager.isOn(name));
        }
    }
@ Descriptor ( "Displays all registered devices with the power manager" ) public void devs ( final CommandSession session ) throws IllegalArgumentException , PowerManagerException { final PrintStream out = session . getConsole ( ) ; for ( String name : m_DevicePowerManager . getDevices ( ) ) { out . format ( "%s: is on? %s%n" , name , m_DevicePowerManager . isOn ( name ) ) ; } }
Displays the power management devices.
Displays the power management devices .