com.atlassian.jira.vcs
Class AbstractRepository

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

public abstract class AbstractRepository
extends Object
implements Repository


Field Summary
protected  String description
           
protected  Long id
           
static String KEY_DESCRIPTION
           
static String KEY_NAME
           
protected  String name
           
protected  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(Object o)
           
 boolean equals(Object o)
           
 String getDescription()
           
 Long getId()
           
 String getName()
           
 RepositoryBrowser getRepositoryBrowser()
           
 String getUpdateDelay()
           
 int hashCode()
           
 void setDescription(String description)
           
 void setId(Long id)
           
 void setName(String name)
           
 void setRepositroryBrowser(RepositoryBrowser repositoryBrowser)
           
 void setUpdateDelay(String updateDelay)
           
 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
getCommitsForIssue, getType
 

Field Detail

id

protected Long id

name

protected String name

description

protected String description

updateDelay

protected String updateDelay

KEY_NAME

public static final String KEY_NAME
See Also:
Constant Field Values

KEY_DESCRIPTION

public static final 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 Long getId()
Specified by:
getId in interface Repository

setId

public void setId(Long id)

getUpdateDelay

public String getUpdateDelay()

setUpdateDelay

public void setUpdateDelay(String updateDelay)

getName

public String getName()
Specified by:
getName in interface Repository

setName

public void setName(String name)

getDescription

public String getDescription()
Specified by:
getDescription in interface Repository

setRepositroryBrowser

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

getRepositoryBrowser

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

setDescription

public void setDescription(String description)

toString

public String toString()

equals

public boolean equals(Object o)

hashCode

public int hashCode()

compareTo

public int compareTo(Object o)
Specified by:
compareTo in interface Comparable


Copyright © 2002-2006 Atlassian. All Rights Reserved.