question: public static Aggregator fromString ( String name ) { if ( name != null && ! name . isEmpty ( ) ) { for ( Aggregator aggregator : Aggregator . values ( ) ) { if ( name . equalsIgnoreCase ( aggregator . name ( ) ) ) { return aggregator ; } } } return null ; }
target:  Returns the element corresponding to the given name.