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

Examples of org.eclipse.equinox.internal.provisional.p2.engine.IEngine


        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

    // EV: throw a regular Exception to account for reflection exceptions
    //throws CoreException
    throws Exception
  {
    // EV: pull some private vars in to local scope.
    IEngine engine = (IEngine)this.getPrivateField("engine");
    boolean verifyOnly = ((Boolean)this.getPrivateField("verifyOnly")).booleanValue();
    boolean noArtifactRepositorySpecified = ((Boolean)this.getPrivateField("noArtifactRepositorySpecified")).booleanValue();

    IStatus operationStatus;
    if (!verifyOnly) {
View Full Code Here

TOP

Related Classes of org.eclipse.equinox.internal.provisional.p2.engine.IEngine

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.