public class ServerInfo extends org.jenkinsci.plugins.workflow.steps.AbstractStepImpl implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
ServerInfo.DescriptorImpl
The type Descriptor.
|
Constructor and Description |
---|
ServerInfo()
Instantiates a new Server info.
|
ServerInfo(String uniqueID,
String url,
String loginUser,
hudson.util.Secret loginPassword,
String label)
Instantiates a new Server info.
|
Modifier and Type | Method and Description |
---|---|
String |
getLabel()
Gets label.
|
hudson.util.Secret |
getLoginPassword()
Gets login password.
|
String |
getLoginUser()
Gets login user.
|
String |
getNonEmptyLabel(boolean forCollab) |
String |
getUniqueID()
Gets unique id.
|
String |
getUniqueIDDoNotGenerate()
Gets unique id do not generate.
|
String |
getUrl()
Gets url.
|
void |
setLabel(String label)
Sets label.
|
void |
setLoginUser(String loginUser)
Sets login user.
|
void |
setUniqueID(String uniqueID)
Sets unique id.
|
void |
setUrl(String url)
Sets url.
|
public ServerInfo()
@DataBoundConstructor public ServerInfo(String uniqueID, String url, String loginUser, hudson.util.Secret loginPassword, String label)
uniqueID
- the unique idurl
- the urlloginUser
- the login userloginPassword
- the login passwordlabel
- the labelpublic String getUrl()
public void setUrl(String url)
url
- the urlpublic String getLoginUser()
public void setLoginUser(String loginUser)
loginUser
- the login userpublic hudson.util.Secret getLoginPassword()
public String getUniqueID()
public String getNonEmptyLabel(boolean forCollab)
public void setUniqueID(String uniqueID)
uniqueID
- the unique idpublic String getUniqueIDDoNotGenerate()
public String getLabel()
public void setLabel(String label)
label
- the labelCopyright © 2004-2021. All Rights Reserved.