@Extension
public static final class AppDetectorBuildWrapper.DescriptorImpl
extends hudson.tasks.BuildWrapperDescriptor
| コンストラクタと説明 |
|---|
DescriptorImpl() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject json) |
hudson.util.ListBoxModel |
doFillAppNameItems()
Fill in the value of the select element of the application name in Jenkins' Web view.
|
hudson.util.ComboBoxModel |
doFillAppVersionItems(String appName) |
hudson.util.ListBoxModel |
doFillNodeItems()
Fill in the value of select element of node name in Jenkins' Web view.
|
hudson.util.FormValidation |
doTestScript(String script,
String node,
boolean onLinux,
boolean onOsx,
boolean onWindows)
Test whether Groovy script for application detection is valid.
|
List<AppDetectionSetting> |
getDetectionSettings() |
String |
getDisplayName() |
boolean |
isApplicable(hudson.model.AbstractProject<?,?> item) |
hudson.tasks.BuildWrapper |
newInstance(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject json) |
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, 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, toMappublic String getDisplayName()
getDisplayName クラス内 hudson.model.Descriptor<hudson.tasks.BuildWrapper>public boolean configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject json)
throws hudson.model.Descriptor.FormException
configure クラス内 hudson.model.Descriptor<hudson.tasks.BuildWrapper>hudson.model.Descriptor.FormExceptionpublic hudson.tasks.BuildWrapper newInstance(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject json)
throws hudson.model.Descriptor.FormException
newInstance クラス内 hudson.model.Descriptor<hudson.tasks.BuildWrapper>hudson.model.Descriptor.FormExceptionpublic boolean isApplicable(hudson.model.AbstractProject<?,?> item)
isApplicable クラス内 hudson.tasks.BuildWrapperDescriptorpublic hudson.util.ListBoxModel doFillAppNameItems()
public hudson.util.ComboBoxModel doFillAppVersionItems(@QueryParameter(value="appName")
String appName)
public hudson.util.ListBoxModel doFillNodeItems()
public hudson.util.FormValidation doTestScript(@QueryParameter(value="script")
String script,
@QueryParameter(value="node")
String node,
@QueryParameter(value="detectOnLinux")
boolean onLinux,
@QueryParameter(value="detectOnOsx")
boolean onOsx,
@QueryParameter(value="detectOnWindows")
boolean onWindows)
script - Groovy script to be tested.node - Jenkins node name to execute script.onLinux - Whether to perform detection on Linux.onOsx - Whether to perform detection on Mac.onWindows - Whether to perform detection on Windows.public List<AppDetectionSetting> getDetectionSettings()
Copyright © 2016–2022. All rights reserved.