Examples of InheritableScope


Examples of org.apache.easyant.core.ivy.InheritableScope

                if (attributes.getValue("mandatory") != null && "true".equals(attributes.getValue("mandatory"))) {
                    mandatory = true;
                }
                pluginDescriptor.setMandatory(mandatory);
                if (attributes.getValue("inherit-scope") != null) {
                    InheritableScope scope = InheritableScope.valueOf(attributes.getValue("inherit-scope")
                            .toUpperCase());
                    pluginDescriptor.setInheritScope(scope);
                }
                if (attributes.getValue("inheritable") != null && "true".equals(attributes.getValue("inheritable"))) {
                    pluginDescriptor.setInheritable(true);
View Full Code Here

Examples of org.apache.easyant.core.ivy.InheritableScope

         *            an element supporting inherit scope attributes
         */
        private void handleInheritedScopeAttribute(Attributes attributes, AdvancedInheritableItem inheritScopeElement) {
            String inheritScopeValue = getSettings().substitute(attributes.getValue("inherit-scope"));
            if (inheritScopeValue != null) {
                InheritableScope scope = InheritableScope.valueOf(inheritScopeValue.toUpperCase());
                inheritScopeElement.setInheritScope(scope);
            }

            String inheritableValue = getSettings().substitute(attributes.getValue("inheritable"));
            if (inheritableValue != null) {
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.