Package de.grey.ownsync.action

Examples of de.grey.ownsync.action.DeleteAction


                    case FileState.UNKNOWN: // B
                    case FileState.DELETED_FILE: // B
//                        return new NoAction(fileStateA, fileStateB);
                        return null;
                    case FileState.UNCHANGED_FILE: // B
                        return new DeleteAction(fileStateB, folderStateB);
                    case FileState.CHANGED_FILE: // B
                    case FileState.NEW_FILE: // B
                        return getCopyNewerAction(fileStateA, fileStateB);
                }
            }
            case FileState.UNCHANGED_FILE: // A
            {
                switch (fileStateB.getModifications())
                {
                    case FileState.DELETED_FILE: // B
                        return new DeleteAction(fileStateA, folderStateA);
                    case FileState.UNKNOWN: // B
                    case FileState.UNCHANGED_FILE: // B
//                        return new NoAction(fileStateA, fileStateB);
                        return null;
                    case FileState.CHANGED_FILE: // B
View Full Code Here


                {
                    case FileState.UNKNOWN: // B
                    case FileState.DELETED_FILE: // B
                        return null;
                    case FileState.UNCHANGED_FILE: // B
                        return new DeleteAction(fileStateB, folderStateB);
                    case FileState.CHANGED_FILE: // B
                    case FileState.NEW_FILE: // B
                        return getCopyNewerAction(fileStateA, fileStateB);
                }
            }
            case FileState.UNCHANGED_FILE: // A
            {
                switch (fileStateB.getModifications())
                {
                    case FileState.DELETED_FILE: // B
                        return new DeleteAction(fileStateA, folderStateA);
                    case FileState.UNKNOWN: // B
                    case FileState.UNCHANGED_FILE: // B
                        return null;
                    case FileState.CHANGED_FILE: // B
                    case FileState.NEW_FILE: // B
View Full Code Here

TOP

Related Classes of de.grey.ownsync.action.DeleteAction

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.