com.atlassian.jira.issue.action
Class Commit

java.lang.Object
  extended bycom.atlassian.jira.issue.action.AbstractIssueAction
      extended bycom.atlassian.jira.issue.action.Commit
All Implemented Interfaces:
Comparable, IssueAction

public class Commit
extends AbstractIssueAction


Field Summary
 
Fields inherited from class com.atlassian.jira.issue.action.AbstractIssueAction
JIRA_TEMPLATES
 
Fields inherited from interface com.atlassian.jira.issue.action.IssueAction
FS
 
Constructor Summary
Commit(VCSCommit commit, User remoteUser, String repositoryName, RepositoryBrowser repositoryBrowser)
           
 
Method Summary
 boolean equals(Object o)
           
 String getBranchName()
           
 String getComment()
           
 String getDiffLink(String filePath, String revision)
           
 String getFileLink(String filePath)
           
 Object getId()
           
 String getLevel()
           
 String getRepositoryName()
           
 String getRevisionLink(String filePath, String revision)
           
 Collection getRevisions()
           
protected  String getTemplateName()
           
 Timestamp getTimePerformed()
           
 String getType()
           
 String getUsername()
           
 int hashCode()
           
 boolean hasRepositoryViewer()
           
 
Methods inherited from class com.atlassian.jira.issue.action.AbstractIssueAction
compareTo, getHtml, getPrettyDate, getPrettyTimePerformed, getRemoteUser, getTemplateDirectory, isDisplayActionAllTab, populateVelocityParams
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Commit

public Commit(VCSCommit commit,
              User remoteUser,
              String repositoryName,
              RepositoryBrowser repositoryBrowser)
Method Detail

getTemplateName

protected String getTemplateName()
Specified by:
getTemplateName in class AbstractIssueAction

getId

public Object getId()

getType

public String getType()

getUsername

public String getUsername()

getTimePerformed

public Timestamp getTimePerformed()

getLevel

public String getLevel()

getComment

public String getComment()

getRevisions

public Collection getRevisions()

hasRepositoryViewer

public boolean hasRepositoryViewer()

getFileLink

public String getFileLink(String filePath)

getRevisionLink

public String getRevisionLink(String filePath,
                              String revision)

getDiffLink

public String getDiffLink(String filePath,
                          String revision)

getRepositoryName

public String getRepositoryName()

equals

public boolean equals(Object o)

hashCode

public int hashCode()

getBranchName

public String getBranchName()


Copyright © 2002-2006 Atlassian. All Rights Reserved.