public class NTSServerInfo extends ServerInfo implements Serializable, Comparable<NTSServerInfo>, Comparator<NTSServerInfo>
| Constructor and Description |
|---|
NTSServerInfo()
Instantiates a new Nts server info.
|
NTSServerInfo(String uniqueID,
String url,
String loginUser,
String loginPassword,
String label,
String collabPath,
String licenseID)
Instantiates a new Nts server info.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compare(NTSServerInfo o1,
NTSServerInfo o2)
Compare int.
|
int |
compareTo(NTSServerInfo o)
Compare to int.
|
boolean |
equals(Object obj)
Equals boolean.
|
String |
getCollabPath()
Gets collab path.
|
String |
getLicenseID()
Gets license id.
|
int |
hashCode()
Hash code int.
|
void |
setCollabPath(String collabPath)
Sets collab path.
|
void |
setLicenseID(String licenseID)
Sets license id.
|
String |
toString()
To string string.
|
getLabel, getLoginPassword, getLoginUser, getUniqueID, getUniqueIDDoNotGenerate, getUrl, setLabel, setLoginPassword, setLoginUser, setUniqueID, setUrlclone, finalize, getClass, notify, notifyAll, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic NTSServerInfo()
@DataBoundConstructor public NTSServerInfo(String uniqueID, String url, String loginUser, String loginPassword, String label, String collabPath, String licenseID)
uniqueID - the unique idurl - the urlloginUser - the login userloginPassword - the login passwordlabel - the labelcollabPath - the collab pathlicenseID - the license idpublic String getCollabPath()
public void setCollabPath(String collabPath)
collabPath - the collab pathpublic String getLicenseID()
public void setLicenseID(String licenseID)
licenseID - the license idpublic String toString()
ServerInfotoString in class ServerInfopublic int compare(NTSServerInfo o1, NTSServerInfo o2)
compare in interface Comparator<NTSServerInfo>o1 - the o 1o2 - the o 2public int compareTo(NTSServerInfo o)
compareTo in interface Comparable<NTSServerInfo>o - the opublic boolean equals(Object obj)
equals in interface Comparator<NTSServerInfo>equals in class Objectobj - the objCopyright © 2004-2018. All Rights Reserved.