private Volume [ ] getVolumes ( TestContext context ) { String [ ] volumes = StringUtils . commaDelimitedListToStringArray ( getParameter ( "volumes" , context ) ) ; Volume [ ] volumeSpecs = new Volume [ volumes . length ] ; for ( int i = 0 ; i < volumes . length ; i ++ ) { volumeSpecs [ i ] = new Volume ( volumes [ i ] ) ; } return volumeSpecs ; }
Gets the volume specs from comma delimited string .