private void setTasks ( String tasks ) { for ( String task : tasks . split ( "," ) ) { if ( KNOWN_TASKS . containsKey ( task ) ) { this . tasks |= KNOWN_TASKS . get ( task ) ; this . taskName += ( this . taskName . isEmpty ( ) ? "" : "-" ) + task ; } else { logger . warn ( "Unsupported RDF serialization task \"" + task + "\". Run without specifying any tasks for help." ) ; } } }
Sets the RDF serialization tasks based on the given string value .