com.atlassian.jira.vcs
Class AbstractRepository

java.lang.Object
  extended by com.atlassian.jira.vcs.AbstractRepository
All Implemented Interfaces:
Repository, java.lang.Comparable<Repository>
Direct Known Subclasses:
CvsRepository

public abstract class AbstractRepository
extends java.lang.Object
implements Repository


Field Summary
protected  java.lang.String description
           
protected  java.lang.Long id
           
static java.lang.String KEY_DESCRIPTION
           
static java.lang.String KEY_NAME
           
protected  java.lang.String name
           
protected  java.lang.String updateDelay
           
 
Fields inherited from interface com.atlassian.jira.vcs.Repository
KEY_REPOSITTORY_BROWSER_TYPE
 
Constructor Summary
AbstractRepository()
           
AbstractRepository(com.opensymphony.module.propertyset.PropertySet propertySet)
           
 
Method Summary
 int compareTo(Repository repository)
           
 boolean equals(java.lang.Object o)
           
 java.lang.String getDescription()
           
 java.lang.Long getId()
           
 java.lang.String getName()
           
 RepositoryBrowser getRepositoryBrowser()
           
 java.lang.String getUpdateDelay()
           
 int hashCode()
           
 void setDescription(java.lang.String description)
           
 void setId(java.lang.Long id)
           
 void setName(java.lang.String name)
           
 void setRepositoryBrowser(RepositoryBrowser repositoryBrowser)
           
 void setUpdateDelay(java.lang.String updateDelay)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.atlassian.jira.vcs.Repository
copyContent, getCommitsForIssue, getType
 

Field Detail

id

protected java.lang.Long id

name

protected java.lang.String name

description

protected java.lang.String description

updateDelay

protected java.lang.String updateDelay

KEY_NAME

public static final java.lang.String KEY_NAME
See Also:
Constant Field Values

KEY_DESCRIPTION

public static final java.lang.String KEY_DESCRIPTION
See Also:
Constant Field Values
Constructor Detail

AbstractRepository

public AbstractRepository(com.opensymphony.module.propertyset.PropertySet propertySet)

AbstractRepository

public AbstractRepository()
Method Detail

getId

public java.lang.Long getId()
Specified by:
getId in interface Repository

setId

public void setId(java.lang.Long id)

getUpdateDelay

public java.lang.String getUpdateDelay()

setUpdateDelay

public void setUpdateDelay(java.lang.String updateDelay)

getName

public java.lang.String getName()
Specified by:
getName in interface Repository

setName

public void setName(java.lang.String name)

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface Repository

setRepositoryBrowser

public void setRepositoryBrowser(RepositoryBrowser repositoryBrowser)
Specified by:
setRepositoryBrowser in interface Repository

getRepositoryBrowser

public RepositoryBrowser getRepositoryBrowser()
Specified by:
getRepositoryBrowser in interface Repository

setDescription

public void setDescription(java.lang.String description)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

compareTo

public int compareTo(Repository repository)
Specified by:
compareTo in interface java.lang.Comparable<Repository>


Copyright © 2002-2010 Atlassian. All Rights Reserved.