Package com.proofpoint.configuration

Examples of com.proofpoint.configuration.MapClasses


        assertAttributesEqual(metadata, actual, expected);
    }

    private static boolean isPropertyTested(String property, AttributeMetadata attribute, Set<String> testedProperties)
    {
        final MapClasses configMap = attribute.getMapClasses();
        if (configMap == null) {
            return testedProperties.contains(property);
        }
        if (isConfigClass(configMap.getValue())) {
            for (String testedProperty : testedProperties) {
                if (testedProperty.startsWith(property) &&
                        testedProperty.charAt(property.length()) == '.' &&
                        testedProperty.substring(property.length() + 1).contains(".")) {
                    return true;
View Full Code Here


    {
        Set<String> unsupportedProperties = new TreeSet<>(propertyNames);
        Set<String> deprecatedProperties = new TreeSet<>(propertyNames);
        for (AttributeMetadata attribute : metadata.getAttributes().values()) {
            final String property = attribute.getInjectionPoint().getProperty();
            final MapClasses mapClasses = attribute.getMapClasses();
            if (property != null) {
                markPropertySupported(property, mapClasses, unsupportedProperties, deprecatedProperties);
            }
            for (ConfigurationMetadata.InjectionPointMetaData deprecated : attribute.getLegacyInjectionPoints()) {
                markPropertySupported(deprecated.getProperty(), mapClasses, unsupportedProperties, null);
View Full Code Here

TOP

Related Classes of com.proofpoint.configuration.MapClasses

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.