@Extension
public static final class STFBuildWrapper.DescriptorImpl
extends hudson.tasks.BuildWrapperDescriptor
修飾子とタイプ | フィールドと説明 |
---|---|
String |
adbPrivateKey |
String |
adbPublicKey |
boolean |
ignoreCertError |
String |
stfApiEndpoint |
String |
stfToken |
Boolean |
useSpecificKey |
コンストラクタと説明 |
---|
DescriptorImpl() |
修飾子とタイプ | メソッドと説明 |
---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject json) |
hudson.util.FormValidation |
doCheckConditionValue(String value)
Checking whether the given condition value is valid.
|
hudson.util.FormValidation |
doCheckSTFApiEndpoint(String stfApiEndpoint,
boolean ignoreCertError) |
hudson.util.FormValidation |
doCheckSTFToken(String stfApiEndpoint,
boolean ignoreCertError,
String stfToken) |
hudson.util.FormValidation |
doCheckUseSpecificKey(Boolean value)
Display a warning message if 'useSpecificKey' option is selected.
|
hudson.util.ListBoxModel |
doFillConditionNameItems() |
hudson.util.ComboBoxModel |
doFillConditionValueItems(String conditionName)
Fill condition value items on Jenkins web view.
|
net.sf.json.JSONArray |
getDeviceListJSON(net.sf.json.JSONObject filterJSON)
Gets a list of devices that match the given filter, as JSON Array.
|
String |
getDisplayName() |
String |
getStfApiEndpoint() |
boolean |
isApplicable(hudson.model.AbstractProject<?,?> item) |
hudson.tasks.BuildWrapper |
newInstance(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData) |
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, 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, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
public String stfApiEndpoint
public String stfToken
public Boolean useSpecificKey
public String adbPublicKey
public String adbPrivateKey
public boolean ignoreCertError
public 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.FormException
public hudson.tasks.BuildWrapper newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) throws hudson.model.Descriptor.FormException
newInstance
クラス内 hudson.model.Descriptor<hudson.tasks.BuildWrapper>
hudson.model.Descriptor.FormException
public boolean isApplicable(hudson.model.AbstractProject<?,?> item)
isApplicable
クラス内 hudson.tasks.BuildWrapperDescriptor
public hudson.util.ListBoxModel doFillConditionNameItems()
public hudson.util.ComboBoxModel doFillConditionValueItems(@QueryParameter String conditionName)
conditionName
- Condition name to get values.public hudson.util.FormValidation doCheckConditionValue(@QueryParameter String value)
public hudson.util.FormValidation doCheckSTFApiEndpoint(@QueryParameter String stfApiEndpoint, @QueryParameter boolean ignoreCertError)
public hudson.util.FormValidation doCheckSTFToken(@QueryParameter String stfApiEndpoint, @QueryParameter boolean ignoreCertError, @QueryParameter String stfToken)
public hudson.util.FormValidation doCheckUseSpecificKey(@QueryParameter Boolean value)
@JavaScriptMethod public net.sf.json.JSONArray getDeviceListJSON(net.sf.json.JSONObject filterJSON)
filterJSON
- Conditions of the STF device you want to get.@JavaScriptMethod public String getStfApiEndpoint()
Copyright © 2016–2018. All rights reserved.