public static final class CreateMATProfile.AddProfile extends CreateProfile.AddProfile implements Describable<CreateMATProfile.AddProfile>
Modifier and Type | Class and Description |
---|---|
static class |
CreateMATProfile.AddProfile.DescriptorImpl
Inner class representing the descriptor.
|
Constructor and Description |
---|
AddProfile(String profileName,
boolean defaulp)
Constructor.
|
AddProfile(String profileName,
String hostname,
String protocol,
String port,
String username,
Secret password,
boolean zowediscoverable,
boolean defaultp)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Descriptor<CreateMATProfile.AddProfile> |
getDescriptor()
Get the Jenkins descriptor.
|
String |
getHostname()
Get the host name.
|
Secret |
getPassword()
Get the password associated with the user.
|
String |
getPort()
Get the port.
|
String |
getProtocol()
Get the protocol (http or https).
|
String |
getUsername()
Get the user name.
|
boolean |
getZowediscoverable()
Get whether this profile is Zowe discoverable.
|
getDefaultp, getProfileName, setDefaultp
@DataBoundConstructor public AddProfile(String profileName, String hostname, String protocol, String port, String username, Secret password, boolean zowediscoverable, boolean defaultp)
profileName
- the profile namehostname
- the host nameprotocol
- http or httpsport
- the portusername
- the user namepassword
- the passwordzowediscoverable
- whether this profile is Zowe discoverabledefaultp
- whether this is the default profilepublic AddProfile(String profileName, boolean defaulp)
profileName
- the profile namedefaulp
- whether this is the default profilepublic String getHostname()
public boolean getZowediscoverable()
public String getProtocol()
public String getPort()
public Secret getPassword()
public String getUsername()
public Descriptor<CreateMATProfile.AddProfile> getDescriptor()
getDescriptor
in interface Describable<CreateMATProfile.AddProfile>
Copyright © 2016–2022. All rights reserved.