public class NTSServerInfo extends ServerInfo implements Serializable, Comparable<NTSServerInfo>, Comparator<NTSServerInfo>
ServerInfo.DescriptorImpl| Constructor and Description |
|---|
NTSServerInfo(String uniqueID,
String url,
String loginUser,
hudson.util.Secret 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.
|
String |
getNonEmptyLabel(boolean forCollab) |
int |
hashCode()
Hash code int.
|
void |
setCollabPath(String collabPath)
Sets collab path.
|
void |
setLicenseID(String licenseID)
Sets license id.
|
getLabel, getLoginPassword, getLoginUser, getUniqueID, getUniqueIDDoNotGenerate, getUrl, setLabel, setLoginUser, setUniqueID, setUrlprepareInjector, startclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong@DataBoundConstructor public NTSServerInfo(String uniqueID, String url, String loginUser, hudson.util.Secret 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 getNonEmptyLabel(boolean forCollab)
getNonEmptyLabel in class ServerInfopublic String getLicenseID()
public void setLicenseID(String licenseID)
licenseID - the license idpublic 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-2021. All Rights Reserved.