private String findVersion ( ) { WlpInformation wlp = _asset . getWlpInformation ( ) ; if ( wlp == null ) { return null ; } Collection < AppliesToFilterInfo > filterInfo = wlp . getAppliesToFilterInfo ( ) ; if ( filterInfo == null ) { return null ; } for ( AppliesToFilterInfo filter : filterInfo ) { if ( filter . getMinVersion ( ) != null ) { return filter . getMinVersion ( ) . getValue ( ) ; } } return null ; }
Uses the filter information to return the first version number