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 Constructor Description SvnLastChanges()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description LastChanges
changesOf(File repository)
Creates last changes from repository last two revisionsLastChanges
changesOf(File repository, org.tmatesoft.svn.core.wc.SVNRevision currentRevision, org.tmatesoft.svn.core.wc.SVNRevision previousRevision)
Creates last changes from two revisions of repositoryCommitInfo
commitInfo(File repository, org.tmatesoft.svn.core.wc.SVNRevision revision)
List<CommitInfo>
getCommitsBetweenRevisions(File svnRepository, org.tmatesoft.svn.core.wc.SVNRevision currentRevision, org.tmatesoft.svn.core.wc.SVNRevision previousRevision)
static SvnLastChanges
getInstance()
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)
SvnLastChanges
setSvnAuthManager(org.tmatesoft.svn.core.auth.ISVNAuthenticationManager svnAuthManager)
-
-
-
Method Detail
-
getInstance
public static SvnLastChanges getInstance()
-
getInstance
public static SvnLastChanges getInstance(org.tmatesoft.svn.core.auth.ISVNAuthenticationProvider svnAuthProvider)
-
changesOf
public LastChanges changesOf(File repository)
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
public org.tmatesoft.svn.core.wc.SVNRevision getLastTagRevision(File repository)
- Specified by:
getLastTagRevision
in interfaceVCSChanges<File,org.tmatesoft.svn.core.wc.SVNRevision>
-
resolveCurrentRevision
public org.tmatesoft.svn.core.wc.SVNRevision resolveCurrentRevision(File svnRepository)
- Specified by:
resolveCurrentRevision
in interfaceVCSChanges<File,org.tmatesoft.svn.core.wc.SVNRevision>
-
commitInfo
public CommitInfo commitInfo(File repository, org.tmatesoft.svn.core.wc.SVNRevision revision)
- 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>
-
-