public Command get ( String commandName , boolean forceCreate ) { Command command = commands . get ( commandName ) ; if ( command == null && forceCreate ) { command = new Command ( commandName ) ; add ( command ) ; } return command ; }
Retrieves the command associated with the specified name from the registry .