Package org.jitterbit.integration.client.connect.db2xml.wizard.FileNameConflictHandler

Examples of org.jitterbit.integration.client.connect.db2xml.wizard.FileNameConflictHandler.Resolution


    private void checkNameConflict(Set<String> serverNames) {
        String suggestedName = model.getFileName().toLowerCase();
        if (serverNames.contains(suggestedName)) {
            FileNameConflictHandler conflictHandler = new FileNameConflictHandler(model);
            Resolution resolution = conflictHandler.resolveConflict();
            switch (resolution) {
            case NEW_NAME:
                // XXX: The model has already been updated, i.e. at this point
                // model.getFileName == newName. So just calling this method recursively
                // will actually work, although it looks kind of funky.
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.client.connect.db2xml.wizard.FileNameConflictHandler.Resolution

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.