@Extension
public class XCPEnvironmentsConfig
extends jenkins.model.GlobalConfiguration
See src/main/resources/com/viltgroup/xcp/plugins/XCPEnvironmentsConfig/*.jelly for the actual HTML fragment for the configuration screen.
| Modifier and Type | Field and Description |
|---|---|
List<XcpEnvironmentInstance> |
xcpEnvironmentInstances |
| Constructor and Description |
|---|
XCPEnvironmentsConfig()
In order to load the persisted global configuration, you have to
call load() in the constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData) |
hudson.util.FormValidation |
doCheckName(String name)
Performs on-the-fly validation of the form field 'name'.
|
hudson.util.FormValidation |
doCheckXcpDesignerPath(String xcpDesignerPath)
Performs on-the-fly validation of the form field 'xcpDesignerPath'.
|
hudson.util.FormValidation |
doCheckXmsToolsPath(String xmsToolsPath)
Performs on-the-fly validation of the form field 'xmsToolsPath'.
|
static XCPEnvironmentsConfig |
get() |
XcpEnvironmentInstance |
getById(String xcpEnvId) |
String |
getDisplayName() |
all, getCategory, getDescriptor, getGlobalConfigPageaddHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, findByDescribableClassName, findById, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, 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 final List<XcpEnvironmentInstance> xcpEnvironmentInstances
public XCPEnvironmentsConfig()
public static XCPEnvironmentsConfig get()
public XcpEnvironmentInstance getById(String xcpEnvId)
public String getDisplayName()
getDisplayName in class jenkins.model.GlobalConfigurationpublic boolean configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
throws hudson.model.Descriptor.FormException
configure in class hudson.model.Descriptor<jenkins.model.GlobalConfiguration>hudson.model.Descriptor.FormExceptionpublic hudson.util.FormValidation doCheckName(@QueryParameter
String name)
name - This parameter receives the value that the user has typed.public hudson.util.FormValidation doCheckXcpDesignerPath(@QueryParameter
String xcpDesignerPath)
xcpDesignerPath - This parameter receives the value that the user has typed.public hudson.util.FormValidation doCheckXmsToolsPath(@QueryParameter
String xmsToolsPath)
xmsToolsPath - This parameter receives the value that the user has typed.Copyright © 2004-2016 VILT Group. All Rights Reserved.