@Extension
public class CloudifyConfiguration
extends jenkins.model.GlobalConfiguration
Constructor and Description |
---|
CloudifyConfiguration() |
Modifier and Type | Method and Description |
---|---|
hudson.util.FormValidation |
doCheckHost(String value) |
hudson.util.ListBoxModel |
doFillCredentialsIdItems(hudson.model.Item item,
String credentialsId) |
hudson.util.FormValidation |
doTestConnection(String host,
String credentialsId,
String tenant,
boolean secured) |
static CloudifyConfiguration |
get() |
static co.cloudify.rest.client.CloudifyClient |
getCloudifyClient(CloudifyConfiguration config,
String username,
String password,
String tenant) |
static co.cloudify.rest.client.CloudifyClient |
getCloudifyClient(com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials creds,
String tenant) |
static co.cloudify.rest.client.CloudifyClient |
getCloudifyClient(String username,
String password,
String tenant) |
String |
getDefaultTenant() |
String |
getHost() |
URL |
getIntegrationBlueprintsArchiveUrl() |
boolean |
isSecured() |
boolean |
isTrustAllCerts() |
void |
setDefaultTenant(String tenant) |
void |
setHost(String host) |
void |
setIntegrationBlueprintsArchiveUrl(URL integrationBlueprintsArchiveUrl) |
void |
setSecured(boolean secured) |
void |
setTrustAllCerts(boolean trustAllCerts) |
all, configure, getDescriptor, getGlobalConfigPage
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getDisplayName, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
public String getHost()
@DataBoundSetter public void setHost(String host)
public boolean isSecured()
@DataBoundSetter public void setSecured(boolean secured)
public boolean isTrustAllCerts()
@DataBoundSetter public void setTrustAllCerts(boolean trustAllCerts)
public String getDefaultTenant()
@DataBoundSetter public void setDefaultTenant(String tenant)
public URL getIntegrationBlueprintsArchiveUrl()
@DataBoundSetter public void setIntegrationBlueprintsArchiveUrl(URL integrationBlueprintsArchiveUrl)
public hudson.util.FormValidation doCheckHost(@QueryParameter String value)
public hudson.util.ListBoxModel doFillCredentialsIdItems(@AncestorInPath hudson.model.Item item, @QueryParameter String credentialsId)
public static CloudifyConfiguration get()
CloudifyConfiguration
instance for this Jenkins
installation.@POST public hudson.util.FormValidation doTestConnection(@QueryParameter String host, @QueryParameter String credentialsId, @QueryParameter String tenant, @QueryParameter boolean secured) throws IOException, javax.servlet.ServletException
IOException
javax.servlet.ServletException
public static co.cloudify.rest.client.CloudifyClient getCloudifyClient(com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials creds, String tenant)
public static co.cloudify.rest.client.CloudifyClient getCloudifyClient(String username, String password, String tenant)
public static co.cloudify.rest.client.CloudifyClient getCloudifyClient(CloudifyConfiguration config, String username, String password, String tenant)
Copyright © 2016–2020. All rights reserved.