public final class XCPBuildWrapperDescriptor
extends hudson.tasks.BuildWrapperDescriptor
XCPBuildWrapper
. Used as a singleton.
The class is marked as public so that it can be accessed from views.
See src/main/resources/com/viltgroup/xcp/jenkins/XCPBuildWrapper/*.jelly for the actual HTML fragment for the configuration screen.
Constructor and Description |
---|
XCPBuildWrapperDescriptor() |
Modifier and Type | Method and Description |
---|---|
hudson.util.FormValidation |
doCheckBuildPath(String buildPath)
Performs on-the-fly validation of the form field 'buildPath'.
|
String |
getDisplayName() |
List<XcpEnvironmentInstance> |
getXcpEnvironmentInstances() |
boolean |
isApplicable(hudson.model.AbstractProject<?,?> item) |
hudson.tasks.BuildWrapper |
newInstance(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData) |
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, findByDescribableClassName, findById, 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, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
public boolean isApplicable(hudson.model.AbstractProject<?,?> item)
isApplicable
in class hudson.tasks.BuildWrapperDescriptor
public hudson.tasks.BuildWrapper newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) throws hudson.model.Descriptor.FormException
newInstance
in class hudson.model.Descriptor<hudson.tasks.BuildWrapper>
hudson.model.Descriptor.FormException
public List<XcpEnvironmentInstance> getXcpEnvironmentInstances()
public String getDisplayName()
getDisplayName
in class hudson.model.Descriptor<hudson.tasks.BuildWrapper>
public hudson.util.FormValidation doCheckBuildPath(@QueryParameter String buildPath)
buildPath
- This parameter receives the value that the user has typed.Copyright © 2004-2016 VILT Group. All Rights Reserved.