public void logLocalCommands ( final List < Command > commands ) { if ( singleValue == null ) { return ; } for ( final Command command : commands ) { if ( command instanceof SetPropertyValue ) { singleValue . logLocalCommand ( ( SetPropertyValue ) command ) ; } else if ( command instanceof ListCommand ) { lists . logLocalCommand ( ( ListCommand ) command ) ; } } }
Logs a list of locally generated commands that is sent to the server .