public static List < String > buildUris ( Option < String > uris ) { if ( uris . isEmpty ( ) ) { return Collections . emptyList ( ) ; } else { List < String > urisList = new ArrayList <> ( ) ; for ( String uri : uris . get ( ) . split ( "," ) ) { urisList . add ( uri . trim ( ) ) ; } return urisList ; } }
Build a list of URIs for providing custom artifacts to Mesos tasks .