public int getThreadNumber ( ) { if ( cli . hasOption ( THREAD_NUMBER ) ) { return Integer . valueOf ( cli . getOptionValue ( THREAD_NUMBER ) ) ; } return DEFAULT_THREAD_NUMBER ; }
If thread number option is true returns thread number . If false returns default number .