public class RepositoryElement
extends java.lang.Object
implements java.lang.Comparable
Constructor and Description |
---|
RepositoryElement(java.lang.String con,
java.lang.String repos,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(java.lang.Object other) |
void |
createStorage()
Convenience method for creating storage.If repeated requests are to be made it
is may be more efficient to use the getStorage(RepositoryConnectivity conn)
method after first obtaining a connection with the getConnection() method.
|
boolean |
equals(java.lang.Object other) |
ReposConfig |
getConfig() |
java.lang.String |
getConfiguration() |
RepositoryConnectivity |
getConnection() |
java.lang.String |
getNickname() |
java.lang.String |
getRepository() |
RepositoryStorage |
getStorage()
Convenience method for getting storage.
|
RepositoryStorage |
getStorage(RepositoryConnectivity conn)
Attempts to obtain the storage from the given repository connection.
|
int |
hashCode() |
public RepositoryElement(java.lang.String con, java.lang.String repos, java.lang.String name)
public java.lang.String getConfiguration()
public java.lang.String getRepository()
public java.lang.String getNickname()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public int compareTo(java.lang.Object other)
compareTo
in interface java.lang.Comparable
public RepositoryStorage getStorage()
public void createStorage()
public RepositoryStorage getStorage(RepositoryConnectivity conn)
public ReposConfig getConfig()
public RepositoryConnectivity getConnection()
Copyright © 2011, 2013. Daniel P. Dougherty