public final class RepositoryInfo extends Object
RepositoryController
Constructor and Description |
---|
RepositoryInfo(String id,
String connectorId,
String url,
String displayName,
String tooltip)
Creates a new RepositoryInfo instance.
|
RepositoryInfo(String id,
String connectorId,
String url,
String displayName,
String tooltip,
String user,
String httpUser,
char[] password,
char[] httpPassword)
Creates a new RepositoryInfo instance.
|
Modifier and Type | Method and Description |
---|---|
String |
getConnectorId()
Returns the id for the connector this repository belongs to.
|
String |
getDisplayName()
Returns the display name to presented in the IDE UI.
|
char[] |
getHttpPassword()
Returns the http password.
|
String |
getHttpUsername()
Returns the http username.
|
String |
getID()
Returns this repository's unique ID.
|
char[] |
getPassword()
Returns the password for the repository user.
|
String |
getTooltip()
Returns the tooltip to be presented in the IDE UI.
|
String |
getUrl()
Returns the remote url of this repository.
|
String |
getUsername()
Returns the username of this repository.
|
String |
getValue(String key)
Gets a general property of a Repository.
|
void |
putValue(String key,
String value)
Sets a general property of a Repository.
|
public RepositoryInfo(String id, String connectorId, String url, String displayName, String tooltip)
id
- unique identifier for the given connectorconnectorId
- connector idurl
- remote repository urldisplayName
- display name to be used in the UItooltip
- tooltip to be used in the UIpublic RepositoryInfo(String id, String connectorId, String url, String displayName, String tooltip, String user, String httpUser, char[] password, char[] httpPassword)
id
- unique identifier for the given connectorconnectorId
- connector idurl
- remote repository urldisplayName
- display name to be used in the UItooltip
- tooltip to be used in the UIuser
- usernamehttpUser
- http usernamepassword
- passwordhttpPassword
- http passwordpublic String getDisplayName()
public char[] getHttpPassword()
public String getID()
public String getConnectorId()
public String getUrl()
public char[] getPassword()
public String getTooltip()
public String getUsername()
public String getHttpUsername()
public String getValue(String key)
key
- property key