package bluej.groupwork;

import threadchecker.OnThread;
import threadchecker.Tag;


| A class to represent team settings | | @author Davin McCall | @OnThread(Tag.Any) public class TeamSettings { private TeamworkProvider provider; private String protocol; private String server; private String prefix; private String group; private String username; private String password; private String yourName; private String yourEmail; public TeamSettings(TeamworkProvider provider, String protocol, String server, String prefix, String group, String username, String password) { this.provider = provider; this.protocol = protocol; this.server = server; this.prefix = prefix; this.group = group; this.username = username; this.password = password; } public TeamworkProvider getProvider() { return provider; } public String getProtocol() { return protocol; } public String getServer() { return server; } public String getPrefix() { return prefix; } public String getGroup() { return group; } public String getUserName() { return username; } public String getPassword() { return password; }
| @return the yourName | public String getYourName() { return yourName; }
| @param yourName the yourName to set | public void setYourName(String yourName) { this.yourName = yourName; }
| @return the yourEmail | public String getYourEmail() { return yourEmail; }
| @param yourEmail the yourEmail to set | public void setYourEmail(String yourEmail) { this.yourEmail = yourEmail; }
| Produces an URI connection string for display purposes. | @param protocol the string containting the protocol | @param server the server address | @param prefix the repository path in the server | @param userName the user name used for login | @return the connection string in URI format. | public static String getURI(String protocol, String server, String prefix){ String gitUrl = protocol + "://"; gitUrl += server; if (prefix.length() != 0 && !prefix.startsWith("/")) { gitUrl += "/"; } gitUrl += prefix; return gitUrl; } }
top, use, map, class TeamSettings

.   TeamSettings
.   getProvider
.   getProtocol
.   getServer
.   getPrefix
.   getGroup
.   getUserName
.   getPassword
.   getYourName
.   setYourName
.   getYourEmail
.   setYourEmail
.   getURI




144 neLoCode + 12 LoComm