@Command(name = STATE_NAME, outTypeDesc = "Device state")
    public DevState executeStateCmd() throws DevFailed {
        MDC.setContextMap(contextMap);
        xlogger.entry();
        xlogger.exit();
        return getState();
    }
@ Command ( name = STATE_NAME , outTypeDesc = "Device state" ) public DevState executeStateCmd ( ) throws DevFailed { MDC . setContextMap ( contextMap ) ; xlogger . entry ( ) ; xlogger . exit ( ) ; return getState ( ) ; }
Command State

@return the state
@throws DevFailed