Class SvnLastChanges
java.lang.Object
com.github.jenkins.lastchanges.impl.SvnLastChanges
- All Implemented Interfaces:
VCSChanges<File,
org.tmatesoft.svn.core.wc.SVNRevision>
public class SvnLastChanges
extends Object
implements VCSChanges<File,org.tmatesoft.svn.core.wc.SVNRevision>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates last changes from repository last two revisionschangesOf
(File repository, org.tmatesoft.svn.core.wc.SVNRevision currentRevision, org.tmatesoft.svn.core.wc.SVNRevision previousRevision) Creates last changes from two revisions of repositorycommitInfo
(File repository, org.tmatesoft.svn.core.wc.SVNRevision revision) getCommitsBetweenRevisions
(File svnRepository, org.tmatesoft.svn.core.wc.SVNRevision currentRevision, org.tmatesoft.svn.core.wc.SVNRevision previousRevision) static SvnLastChanges
static SvnLastChanges
getInstance
(org.tmatesoft.svn.core.auth.ISVNAuthenticationProvider svnAuthProvider) org.tmatesoft.svn.core.wc.SVNRevision
getLastTagRevision
(File repository) org.tmatesoft.svn.core.wc.SVNRevision
resolveCurrentRevision
(File svnRepository) setSvnAuthManager
(org.tmatesoft.svn.core.auth.ISVNAuthenticationManager svnAuthManager)
-
Constructor Details
-
SvnLastChanges
public SvnLastChanges()
-
-
Method Details
-
getInstance
-
getInstance
public static SvnLastChanges getInstance(org.tmatesoft.svn.core.auth.ISVNAuthenticationProvider svnAuthProvider) -
changesOf
Creates last changes from repository last two revisions- Specified by:
changesOf
in interfaceVCSChanges<File,
org.tmatesoft.svn.core.wc.SVNRevision> - Parameters:
repository
- svn repository to get last changes- Returns:
- LastChanges commit info and svn diff
-
changesOf
public LastChanges changesOf(File repository, org.tmatesoft.svn.core.wc.SVNRevision currentRevision, org.tmatesoft.svn.core.wc.SVNRevision previousRevision) Creates last changes from two revisions of repository- Specified by:
changesOf
in interfaceVCSChanges<File,
org.tmatesoft.svn.core.wc.SVNRevision> - Parameters:
repository
- svn repository to get last changes- Returns:
- LastChanges commit info and svn diff
-
setSvnAuthManager
public SvnLastChanges setSvnAuthManager(org.tmatesoft.svn.core.auth.ISVNAuthenticationManager svnAuthManager) -
getLastTagRevision
- Specified by:
getLastTagRevision
in interfaceVCSChanges<File,
org.tmatesoft.svn.core.wc.SVNRevision>
-
resolveCurrentRevision
- Specified by:
resolveCurrentRevision
in interfaceVCSChanges<File,
org.tmatesoft.svn.core.wc.SVNRevision>
-
commitInfo
- Specified by:
commitInfo
in interfaceVCSChanges<File,
org.tmatesoft.svn.core.wc.SVNRevision>
-
getCommitsBetweenRevisions
public List<CommitInfo> getCommitsBetweenRevisions(File svnRepository, org.tmatesoft.svn.core.wc.SVNRevision currentRevision, org.tmatesoft.svn.core.wc.SVNRevision previousRevision) - Specified by:
getCommitsBetweenRevisions
in interfaceVCSChanges<File,
org.tmatesoft.svn.core.wc.SVNRevision>
-