Package org.tmatesoft.svn.core.wc

Examples of org.tmatesoft.svn.core.wc.SVNEvent


                entry.getKind(), 0, mimeType, null, null, null, null, null);

    }

    public static SVNEvent createAddedEvent(SVNAdminArea dir, String name, SVNNodeKind kind, String mimeType) {
        return new SVNEvent(null, dir, name, SVNEventAction.ADD,
                kind, 0, mimeType, null, null, null, null, null);
    }
View Full Code Here


        return new SVNEvent(null, dir, name, SVNEventAction.ADD,
                kind, 0, mimeType, null, null, null, null, null);
    }

    public static SVNEvent createDeletedEvent(SVNAdminArea dir, String name) {
        return new SVNEvent(null, dir, name, SVNEventAction.DELETE, null, 0,
                null, null, null, null, null, null);
    }
View Full Code Here

        return new SVNEvent(null, dir, name, SVNEventAction.DELETE, null, 0,
                null, null, null, null, null, null);
    }

    public static SVNEvent createUpdateExternalEvent(SVNAdminAreaInfo info, String path) {
        SVNEvent event = new SVNEvent(info, null, null,
                SVNEventAction.UPDATE_EXTERNAL, SVNNodeKind.DIR, -1, null,
                null, null, null, null, null);
        event.setPath(path);
        return event;
    }
View Full Code Here

        event.setPath(path);
        return event;
    }

    public static SVNEvent createStatusExternalEvent(SVNAdminAreaInfo info, String path) {
        SVNEvent event = new SVNEvent(info, null, null,
                SVNEventAction.STATUS_EXTERNAL, SVNNodeKind.DIR, -1, null, null, null,
                null, null, null);
        event.setPath(path);
        return event;
    }
View Full Code Here

        return event;
    }

    public static SVNEvent createUpdateCompletedEvent(SVNAdminAreaInfo info,
            long revision) {
        return new SVNEvent(info, info != null ? info.getTarget() : null,
                "", SVNEventAction.UPDATE_COMPLETED, SVNNodeKind.NONE,
                revision, null, null, null, null, null, null);
    }
View Full Code Here

                "", SVNEventAction.UPDATE_COMPLETED, SVNNodeKind.NONE,
                revision, null, null, null, null, null, null);
    }

    public static SVNEvent createCommitCompletedEvent(SVNAdminAreaInfo info, long revision) {
        return new SVNEvent(info, null,
                "", SVNEventAction.COMMIT_COMPLETED, SVNNodeKind.NONE,
                revision, null, null, null, null, null, null);
    }
View Full Code Here

                "", SVNEventAction.COMMIT_COMPLETED, SVNNodeKind.NONE,
                revision, null, null, null, null, null, null);
    }

    public static SVNEvent createStatusCompletedEvent(SVNAdminAreaInfo info, long revision) {
        return new SVNEvent(info, info.getAnchor(), info.getTargetName(), SVNEventAction.STATUS_COMPLETED, SVNNodeKind.NONE, revision, null,
                null, null, null, null, null);
    }
View Full Code Here

    public static SVNEvent createUpdateModifiedEvent(SVNAdminAreaInfo info,
            SVNAdminArea adminArea, String name, SVNNodeKind kind,
            SVNEventAction action, String mimeType, SVNStatusType contents,
            SVNStatusType props, SVNStatusType lock) {
        return new SVNEvent(info, adminArea, name, action, kind, -1, mimeType,
                contents, props, lock, null, null);
    }
View Full Code Here

                contents, props, lock, null, null);
    }

    public static SVNEvent createUpdateAddEvent(SVNAdminAreaInfo info,
            SVNAdminArea adminArea, SVNNodeKind kind, SVNEntry entry) {
        return new SVNEvent(info, adminArea, entry.getName(),
                SVNEventAction.UPDATE_ADD, kind, entry.getRevision(), null,
                null, null, null, null, null);
    }
View Full Code Here

                SVNEventAction.UPDATE_ADD, kind, entry.getRevision(), null,
                null, null, null, null, null);
    }
   
    public static SVNEvent createExportAddedEvent(File root, File file, SVNNodeKind kind) {
        return new SVNEvent(root, file, SVNEventAction.UPDATE_ADD, kind, -1,
                null, null, null, null, null, null);
    }
View Full Code Here

TOP

Related Classes of org.tmatesoft.svn.core.wc.SVNEvent

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.