Package org.rhq.core.clientapi.descriptor.plugin

Examples of org.rhq.core.clientapi.descriptor.plugin.BundleDestinationBaseDir


                if (destDefs != null && destDefs.size() > 0) {
                    Configuration c = new Configuration();
                    ResourceTypeBundleConfiguration bundleConfiguration = new ResourceTypeBundleConfiguration(c);
                    for (BundleDestination destDef : destDefs) {
                        if (destDef instanceof BundleDestinationBaseDir) {
                            BundleDestinationBaseDir destBaseDir = (BundleDestinationBaseDir) destDef;
                            String name = destBaseDir.getName();
                            String valueContext = destBaseDir.getValueContext();
                            String valueName = destBaseDir.getValueName();
                            String description = destBaseDir.getDescription();
                            List<String> accepts = new ArrayList<String>();
                            for(BundleDestination.Accepts accept : destBaseDir.getAccepts()) {
                                accepts.add(accept.getBundleType());
                            }
                            bundleConfiguration.addBundleDestinationBaseDirectory(name, valueContext, valueName,
                                description, accepts);
                        } else if (destDef instanceof BundleDestinationDefinition) {
View Full Code Here

TOP

Related Classes of org.rhq.core.clientapi.descriptor.plugin.BundleDestinationBaseDir

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.