public static String getEffortLevelDescription ( Verbosity verbosity , int points ) { EffortLevel level = EffortLevel . forPoints ( points ) ; switch ( verbosity ) { case ID : return level . name ( ) ; case VERBOSE : return level . getVerboseDescription ( ) ; case SHORT : default : return level . getShortDescription ( ) ; } }
Returns the right string representation of the effort level based on given number of points .