|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectedu.uky.rch.ept.projectexplorer.model.RepositoryList
Repository List manages the repositories for the user. This class is not meant to be instantiated by the clients. It was be used to query/add/delete repositories.
| Field Summary | |
static String |
ATT_DESCRIPTION
|
static String |
ATT_ROOT
|
static String |
TAG_REPOSITORIES
|
static String |
TAG_REPOSITORY
|
| Method Summary | |
boolean |
addRepository(Repository repository)
Adds the given repository to the user's workbench. |
static RepositoryList |
getInstance()
Returns an instance of this class. |
Repository[] |
getRepositories()
Returns references to the exisiting repositories. |
boolean |
hasRepositories()
Checks if currently there are any repositories in the user's workbench. |
boolean |
removeRepository(Repository repository)
Remove the given repository from the user's workbench. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static String TAG_REPOSITORIES
public static String TAG_REPOSITORY
public static String ATT_ROOT
public static String ATT_DESCRIPTION
| Method Detail |
public static RepositoryList getInstance()
public boolean addRepository(Repository repository)
repository - the repository to add
public boolean removeRepository(Repository repository)
repository - the repository to remove
public boolean hasRepositories()
public Repository[] getRepositories()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||