hu.midori.kosmos.model
Class SvnRepository
java.lang.Object
hu.midori.kosmos.model.util.IdentifiedEntity
hu.midori.kosmos.model.util.TimestampedEntity
hu.midori.kosmos.model.SvnRepository
public class SvnRepository
- extends TimestampedEntity
Wraps a Subversion repository.
- Version:
- $Id$
- Author:
- Aron Gombas
Constructor Summary |
SvnRepository()
By design this should be private to avoid instantiation
without discriminator, but Hessian needs default ctor. |
SvnRepository(java.lang.String location,
long revision,
java.util.Date dateCreated,
java.util.List<ScmRepositoryChange> commits,
int commitsTotal,
int commitsToday,
int commitsLast7Days,
int commitsLast31Days,
int committersTotal,
int committersToday,
int committersLast7Days,
int committersLast31Days,
ZoomableImageLocator filesPerFileTypeChartLocator,
ZoomableImageLocator commitsPerAuthorChartLocator,
ZoomableImageLocator commitsPerFileChartLocator,
ZoomableImageLocator commitsPerWeekChartLocator,
ZoomableImageLocator repoEntriesPerWeekChartLocator,
int dirs,
int files,
int totalFileSize,
java.util.List<java.util.Map.Entry<java.lang.String,java.lang.Integer>> filesPerFileType,
java.util.List<java.util.Map.Entry<java.lang.String,java.lang.Integer>> commitsPerAuthor,
java.util.List<java.util.Map.Entry<java.lang.String,java.lang.Integer>> commitsPerFile)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
commits
public java.util.List<ScmRepositoryChange> commits
- Full history of the commits in reversed order.
SvnRepository
public SvnRepository()
- By design this should be private to avoid instantiation
without discriminator, but Hessian needs default ctor.
SvnRepository
public SvnRepository(java.lang.String location,
long revision,
java.util.Date dateCreated,
java.util.List<ScmRepositoryChange> commits,
int commitsTotal,
int commitsToday,
int commitsLast7Days,
int commitsLast31Days,
int committersTotal,
int committersToday,
int committersLast7Days,
int committersLast31Days,
ZoomableImageLocator filesPerFileTypeChartLocator,
ZoomableImageLocator commitsPerAuthorChartLocator,
ZoomableImageLocator commitsPerFileChartLocator,
ZoomableImageLocator commitsPerWeekChartLocator,
ZoomableImageLocator repoEntriesPerWeekChartLocator,
int dirs,
int files,
int totalFileSize,
java.util.List<java.util.Map.Entry<java.lang.String,java.lang.Integer>> filesPerFileType,
java.util.List<java.util.Map.Entry<java.lang.String,java.lang.Integer>> commitsPerAuthor,
java.util.List<java.util.Map.Entry<java.lang.String,java.lang.Integer>> commitsPerFile)
getLocation
public java.lang.String getLocation()
getRevision
public long getRevision()
getCommits
public java.util.List<ScmRepositoryChange> getCommits()
getCommitsTotal
public int getCommitsTotal()
getCommitsToday
public int getCommitsToday()
getCommitsLast7Days
public int getCommitsLast7Days()
getCommitsLast31Days
public int getCommitsLast31Days()
getCommittersTotal
public int getCommittersTotal()
getCommittersToday
public int getCommittersToday()
getCommittersLast7Days
public int getCommittersLast7Days()
getCommittersLast31Days
public int getCommittersLast31Days()
getFilesPerFileTypeChartLocator
public ZoomableImageLocator getFilesPerFileTypeChartLocator()
getCommitsPerAuthorChartLocator
public ZoomableImageLocator getCommitsPerAuthorChartLocator()
getCommitsPerFileChartLocator
public ZoomableImageLocator getCommitsPerFileChartLocator()
getCommitsPerWeekChartLocator
public ZoomableImageLocator getCommitsPerWeekChartLocator()
getRepoEntriesPerWeekChartLocator
public ZoomableImageLocator getRepoEntriesPerWeekChartLocator()
getDirs
public int getDirs()
getFiles
public int getFiles()
getTotalFileSize
public int getTotalFileSize()
getFilesPerFileType
public java.util.List<java.util.Map.Entry<java.lang.String,java.lang.Integer>> getFilesPerFileType()
getCommitsPerAuthor
public java.util.List<java.util.Map.Entry<java.lang.String,java.lang.Integer>> getCommitsPerAuthor()
getCommitsPerFile
public java.util.List<java.util.Map.Entry<java.lang.String,java.lang.Integer>> getCommitsPerFile()
getActivity
public double getActivity()
- Returns a calculated activity percentage in the range [0.0 ... 1.0].
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object