Package com.dtolabs.rundeck.core.utils

Examples of com.dtolabs.rundeck.core.utils.IPropertyLookup


            return user;
        }

        public static Map<String, String> sshConfigFromFramework(Framework framework) {
            HashMap<String, String> config = new HashMap<String, String>();
            IPropertyLookup propertyLookup = framework.getPropertyLookup();
            for (Object o : propertyLookup.getPropertiesMap().keySet()) {
                String key = (String) o;

                if (key.startsWith(FWK_SSH_CONFIG_PREFIX)) {
                    String name = key.substring(FWK_SSH_CONFIG_PREFIX.length());
                    config.put(name, propertyLookup.getProperty(key));
                }
            }
            return config;
        }
View Full Code Here

TOP

Related Classes of com.dtolabs.rundeck.core.utils.IPropertyLookup

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.