public class CollabServerInfo extends ServerInfo implements Serializable, Comparable<CollabServerInfo>, Comparator<CollabServerInfo>
ServerInfo.DescriptorImpl
Constructor and Description |
---|
CollabServerInfo(String uniqueID,
String url,
String loginUser,
hudson.util.Secret loginPassword,
String label,
String privateKey,
String passphrase)
Instantiates a new Collab server info.
|
Modifier and Type | Method and Description |
---|---|
int |
compare(CollabServerInfo o1,
CollabServerInfo o2)
Compare int.
|
int |
compareTo(CollabServerInfo o)
Compare to int.
|
boolean |
equals(Object obj)
Equals boolean.
|
String |
getPassphrase()
Gets passphrase.
|
String |
getPrivateKey()
Gets private key.
|
int |
hashCode()
Hash code int.
|
void |
setPassphrase(String passphrase)
Sets passphrase.
|
void |
setPrivateKey(String privateKey)
Sets private key.
|
getLabel, getLoginPassword, getLoginUser, getNonEmptyLabel, getUniqueID, getUniqueIDDoNotGenerate, getUrl, setLabel, setLoginUser, setUniqueID, setUrl
prepareInjector, start
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
@DataBoundConstructor public CollabServerInfo(String uniqueID, String url, String loginUser, hudson.util.Secret loginPassword, String label, String privateKey, String passphrase)
uniqueID
- the unique idurl
- the urlloginUser
- the login userloginPassword
- the login passwordlabel
- the labelprivateKey
- the private keypassphrase
- the passphrasepublic String getPrivateKey()
public void setPrivateKey(String privateKey)
privateKey
- the privateKey to setpublic String getPassphrase()
public void setPassphrase(String passphrase)
passphrase
- the passphrase to setpublic int compare(CollabServerInfo o1, CollabServerInfo o2)
compare
in interface Comparator<CollabServerInfo>
o1
- the o 1o2
- the o 2public int compareTo(CollabServerInfo o)
compareTo
in interface Comparable<CollabServerInfo>
o
- the opublic boolean equals(Object obj)
equals
in interface Comparator<CollabServerInfo>
equals
in class Object
obj
- the objCopyright © 2004-2021. All Rights Reserved.