@Command(name = "QueryDevice", outTypeDesc = "Device server device(s) list")
    public String[] queryDevice() throws DevFailed {
        xlogger.entry();
        final List<String> deviceNames = new ArrayList<String>();
        for (final DeviceClassBuilder clazz : classList) {
            if (!clazz.getDeviceClass().equals(AdminDevice.class)) {
                for (final DeviceImpl dev : clazz.getDeviceImplList()) {
                    deviceNames.add(clazz.getClassName() + "::" + dev.getName());
                }
            }
        }
        xlogger.exit();
        return deviceNames.toArray(new String[0]);
    }
@ Command ( name = "QueryDevice" , outTypeDesc = "Device server device(s) list" ) public String [ ] queryDevice ( ) throws DevFailed { xlogger . entry ( ) ; final List < String > deviceNames = new ArrayList < String > ( ) ; for ( final DeviceClassBuilder clazz : classList ) { if ( ! clazz . getDeviceClass ( ) . equals ( AdminDevice . class ) ) { for ( final DeviceImpl dev : clazz . getDeviceImplList ( ) ) { deviceNames . add ( clazz . getClassName ( ) + "::" + dev . getName ( ) ) ; } } } xlogger . exit ( ) ; return deviceNames . toArray ( new String [ 0 ] ) ; }
@return Device list
@throws DevFailed