Package org.eclipse.equinox.internal.provisional.p2.core

Examples of org.eclipse.equinox.internal.provisional.p2.core.VersionRange


        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());
View Full Code Here


        IProfile profile = ProvisioningUtils.getProfile();
        if (queryable == null || profile == null) {
            return collector;
        }

        Query query = new IUPropertyQuery(IInstallableUnit.PROP_TYPE_GROUP, Boolean.TRUE.toString());

        if (queryContext.isShowLatestVersionsOnly()) {
            query = new CompositeQuery(new Query[]{query, new LatestIUVersionQuery()});
        }
View Full Code Here

    public Collector perform() {
        Collector collector = new Collector();
        IQueryable queryable = queryContext.getQueryable();
        IProfile profile = ProvisioningUtils.getProfile();
        Query query = queryContext.getQuery();

        if (queryable == null || profile == null) {
            return collector;
        }
View Full Code Here

TOP

Related Classes of org.eclipse.equinox.internal.provisional.p2.core.VersionRange

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.