public static final class CreateEndevorProfile.AddProfile extends CreateProfile.AddProfile implements Describable<CreateEndevorProfile.AddProfile>
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
CreateEndevorProfile.AddProfile.DescriptorImpl
Inner class providing a display name and the list of available protocols. 
 | 
| Constructor and Description | 
|---|
AddProfile(String profileName,
          boolean defaulp)
Inner class constructor. 
 | 
AddProfile(String profileName,
          String hostname,
          String port,
          String username,
          Secret password,
          String protocol,
          String basePath,
          boolean rejectUnauthorized,
          boolean defaultp)
Inner class constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getBasePath()
Get the base path. 
 | 
Descriptor<CreateEndevorProfile.AddProfile> | 
getDescriptor()
Return the Jenkins descriptor. 
 | 
String | 
getHostname()
Get the host name. 
 | 
Secret | 
getPassword()
Get the password. 
 | 
String | 
getPort()
Get the port. 
 | 
String | 
getProfileName()
Return the profile name. 
 | 
String | 
getProtocol()
Get the protocol. 
 | 
boolean | 
getRejectUnauthorized()
Get whether to reject unauthorised requests. 
 | 
String | 
getUsername()
Get the user name. 
 | 
void | 
setPort(String port)
Set the port. 
 | 
void | 
setProtocol(String protocol)
Set the protocol. 
 | 
getDefaultp, setDefaultp@DataBoundConstructor public AddProfile(String profileName, String hostname, String port, String username, Secret password, String protocol, String basePath, boolean rejectUnauthorized, boolean defaultp)
profileName - the profile namehostname - the host nameport - the portusername - the user namepassword - the passwordprotocol - http or httpsbasePath - the base pathrejectUnauthorized - whether to reject unauthorised requestsdefaultp - whether this is the default profilepublic AddProfile(String profileName, boolean defaulp)
profileName - the profile namedefaulp - whether this is the default profilepublic Secret getPassword()
public String getHostname()
public String getUsername()
public String getPort()
public String getProtocol()
public void setProtocol(String protocol)
protocol - the protocolpublic void setPort(String port)
port - - the portpublic boolean getRejectUnauthorized()
public String getBasePath()
public String getProfileName()
CreateProfile.AddProfilegetProfileName in class CreateProfile.AddProfilepublic Descriptor<CreateEndevorProfile.AddProfile> getDescriptor()
getDescriptor in interface Describable<CreateEndevorProfile.AddProfile>Copyright © 2016–2022. All rights reserved.