Package uk.gov.nationalarchives.droid.core.interfaces.config

Examples of uk.gov.nationalarchives.droid.core.interfaces.config.DroidGlobalProperty


        for (Map.Entry<SignatureType, SortedMap<String, SignatureFileInfo>> sigFileEntry
                : availableSignatureFiles.entrySet()) {
            SignatureType type = sigFileEntry.getKey();
            Map<String, SignatureFileInfo> sigs = sigFileEntry.getValue();
            DroidGlobalProperty defaultSigFile = defaultVersionProperties.get(type);
           
            String defaultSigFileKey = config.getProperties().getString(defaultSigFile.getName());
            if (StringUtils.isNotBlank(defaultSigFileKey)) {
                SignatureFileInfo sigFileInfo = sigs.get(defaultSigFileKey);
                if (sigFileInfo == null) {
                    String errorMessage = String.format(errorMessagePattern, config.getProperties()
                            .getString(defaultVersionProperties.get(type).getName()));
View Full Code Here


     */
    @Override
    public void configurationChanged(ConfigurationEvent event) {
        final String propertyName = event.getPropertyName();
        if (propertyName.startsWith("update.proxy")) {
            DroidGlobalProperty property = DroidGlobalProperty.forName(propertyName);
            switch (property) {
                case UPDATE_PROXY_HOST:
                    setProxyHost((String) event.getPropertyValue());
                    break;
                case UPDATE_PROXY_PORT:
View Full Code Here

TOP

Related Classes of uk.gov.nationalarchives.droid.core.interfaces.config.DroidGlobalProperty

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.