Package org.rhq.enterprise.server.plugin.pc.content

Examples of org.rhq.enterprise.server.plugin.pc.content.ContentProviderPackageDetailsKey


        PackageDetailsKeyType keyType = pkg.getPackageDetailsKey();

        try {
            String version = "[sha256=" + pkg.getSha256() + "]";
            ContentProviderPackageDetailsKey key = new ContentProviderPackageDetailsKey(keyType.getName(), version,
                keyType.getPackageTypeName(), keyType.getArchitectureName(), keyType
                .getResourceTypeName(), keyType.getResourceTypePlugin());
            ContentProviderPackageDetails details = new ContentProviderPackageDetails(key);
            details.setDisplayName(pkg.getDisplayName());
            details.setDisplayVersion(pkg.getDisplayVersion());
View Full Code Here


                        continue;
                    }

                    String version = "[sha256=" + patch.getSha256() + "]";

                    ContentProviderPackageDetailsKey key = new ContentProviderPackageDetailsKey(packageName, version,
                        PACKAGE_TYPE_CUMULATIVE_PATCH, ARCHITECTURE, RESOURCE_TYPE_JBOSS_AS,
                        getPluginName(displayVersion));

                    // If this package is already known to the server, don't add it as a new package
                    // Remove from the map; entries still in the map will be returned as deleted packages
View Full Code Here

        String name = p.getChildText("name", Repodata.yumns);
        String displayVersion = encodeVersion(p);
        String sha256 = p.getChildText("checksum", Repodata.yumns);
        String version = "[sha256=" + sha256 + "]";
        String arch = p.getChildText("arch", Repodata.yumns);
        ContentProviderPackageDetailsKey key = new ContentProviderPackageDetailsKey(name, version, "rpm", arch,
            "Linux", "Platforms");
        ContentProviderPackageDetails pkg = new ContentProviderPackageDetails(key);
        String filename = filename(p);
        pkg.setDisplayName(filename);
        pkg.setShortDescription(p.getChildText("summary", Repodata.yumns));
View Full Code Here

TOP

Related Classes of org.rhq.enterprise.server.plugin.pc.content.ContentProviderPackageDetailsKey

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.