Package org.rhq.core.domain.drift

Examples of org.rhq.core.domain.drift.DriftDefinitionTemplate.createConfiguration()


    private void setSelectedTemplate(String key, final HashMap<String, DriftDefinitionTemplate> templatesMap) {

        DriftDefinitionTemplate selectedTemplate = templatesMap.get(key);
        wizard.setSelectedTemplate(selectedTemplate);
        Configuration startingConfig = selectedTemplate.createConfiguration();
        // don't propogate the template name or desc to the def, force the user to enter a name, and optionally, a def
        startingConfig.remove(DriftConfigurationDefinition.PROP_NAME);
        startingConfig.remove(DriftConfigurationDefinition.PROP_DESCRIPTION);
        wizard.setNewStartingConfiguration(startingConfig);
        String description = selectedTemplate.getDescription();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.