return licenseArrayList.toArray(new ILicense[licenseArrayList.size()]);
}
public static IInstallableUnit[] getAllInstalledIUs(QueryContext queryContext) {
queryContext.setQueryable(getProfile());
Query query = new IUPropertyQuery(IInstallableUnit.PROP_TYPE_GROUP, Boolean.TRUE.toString());
queryContext.setQuery(query);
InstalledIUQuery installedIUQuery = new InstalledIUQuery(queryContext);
IInstallableUnit[] groupPropertyTrueIUs = ProvisioningUtils.performIUQuery(installedIUQuery);
query = new IUPropertyQuery(IInstallableUnit.PROP_TYPE_GROUP, Boolean.FALSE.toString());