@Extension
public static class MesosCloud.DescriptorImpl
extends hudson.model.Descriptor<hudson.slaves.Cloud>
| Constructor and Description |
|---|
DescriptorImpl() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addLogRecorder(jenkins.model.Jenkins h)
Preconfigure logger for easier debugging.
|
hudson.util.FormValidation |
doCheckAgentUser(java.lang.String agentUser)
Validates that the agent user is not empty and a valid UNIX user name.
|
hudson.util.FormValidation |
doCheckFrameworkName(java.lang.String frameworkName)
Validates that the framework name is not empty.
|
hudson.util.FormValidation |
doCheckJenkinsUrl(java.lang.String jenkinsUrl)
Validates that the Jenkins URL is a valid URL.
|
hudson.util.FormValidation |
doCheckMesosMasterUrl(java.lang.String mesosMasterUrl)
Validates that the Mesos master URL is a valid URL.
|
hudson.util.FormValidation |
doCheckRole(java.lang.String role)
Validates that the role is valid.
|
hudson.util.FormValidation |
doTestConnection(java.lang.String mesosMasterUrl)
Test connection from configuration page.
|
java.lang.String |
getDisplayName() |
java.lang.String |
getLogRecorderName() |
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMappublic java.lang.String getDisplayName()
getDisplayName in class hudson.model.Descriptor<hudson.slaves.Cloud>public java.lang.String getLogRecorderName()
@Initializer(before=PLUGINS_STARTED)
public static void addLogRecorder(jenkins.model.Jenkins h)
throws java.io.IOException
h - The Jenkins instance.java.io.IOExceptionpublic hudson.util.FormValidation doCheckMesosMasterUrl(@QueryParameter
java.lang.String mesosMasterUrl)
mesosMasterUrl - The Mesos master URL supplied by the user.public hudson.util.FormValidation doCheckFrameworkName(@QueryParameter
java.lang.String frameworkName)
frameworkName - The framework name set by the user.public hudson.util.FormValidation doCheckRole(@QueryParameter
java.lang.String role)
role - The Mesos role supplied by the user.public hudson.util.FormValidation doCheckAgentUser(@QueryParameter
java.lang.String agentUser)
agentUser - The agent user set by the user.public hudson.util.FormValidation doCheckJenkinsUrl(@QueryParameter
java.lang.String jenkinsUrl)
jenkinsUrl - The Jenkins URL supplied by the user.public hudson.util.FormValidation doTestConnection(@QueryParameter(value="mesosMasterUrl")
java.lang.String mesosMasterUrl)
throws java.util.concurrent.ExecutionException,
java.lang.InterruptedException
mesosMasterUrl - The Mesos master URL set by the user.java.util.concurrent.ExecutionExceptionjava.lang.InterruptedException