public class CheckboxParameterDefinition extends ParameterDefinition implements Comparable<CheckboxParameterDefinition>
| 限定符和类型 | 类和说明 |
|---|---|
static class |
CheckboxParameterDefinition.DescriptorImpl |
ParameterDefinition.ParameterDescriptorExtensionPoint.LegacyInstancesAreScopedToHudsonLIST| 构造器和说明 |
|---|
CheckboxParameterDefinition(String name,
String description,
Protocol protocol,
Format format,
String uri,
String displayNodePath,
String valueNodePath,
net.sf.json.JSONObject useInput) |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
compareTo(CheckboxParameterDefinition o) |
ParameterValue |
createValue(CLICommand command,
String value) |
ParameterValue |
createValue(org.kohsuke.stapler.StaplerRequest staplerRequest) |
ParameterValue |
createValue(org.kohsuke.stapler.StaplerRequest staplerRequest,
net.sf.json.JSONObject jsonObject)
根据用户勾选的复选框创建构建参数返回值 Create the return value of the build parameter according to the check box checked by the user
|
CheckboxList |
getCheckboxList()
根据文件内容创建复选框列表 Create checkbox list based on file content
|
ParameterValue |
getDefaultParameterValue() |
String |
getDefaultValue() |
CheckboxParameterDefinition.DescriptorImpl |
getDescriptor() |
String |
getDisplayNodePath() |
String |
getDivId() |
Format |
getFormat() |
Protocol |
getProtocol() |
String |
getSubmitContent() |
String |
getUri() |
boolean |
getUseInput() |
String |
getValueNodePath() |
void |
setDefaultValue(String defaultValue) |
void |
setDisplayNodePath(String displayNodePath) |
void |
setFormat(Format format) |
void |
setProtocol(Protocol protocol) |
void |
setSubmitContent(String submitContent) |
void |
setUri(String uri) |
void |
setUseInput(boolean useInput) |
void |
setValueNodePath(String valueNodePath) |
all, copyWithDefaultValue, getDescription, getFormattedDescription, getName, getTypepublic void setDefaultValue(String defaultValue)
public String getDefaultValue()
public boolean getUseInput()
@DataBoundSetter public void setUseInput(boolean useInput)
public String getDisplayNodePath()
@DataBoundSetter public void setDisplayNodePath(String displayNodePath)
public String getValueNodePath()
@DataBoundSetter public void setValueNodePath(String valueNodePath)
public String getUri()
@DataBoundSetter public void setUri(String uri)
public String getSubmitContent()
@DataBoundSetter public void setSubmitContent(String submitContent)
public Format getFormat()
@DataBoundSetter public void setFormat(Format format)
public Protocol getProtocol()
@DataBoundSetter public void setProtocol(Protocol protocol)
@CheckForNull public ParameterValue createValue(org.kohsuke.stapler.StaplerRequest staplerRequest, net.sf.json.JSONObject jsonObject)
createValue 在类中 ParameterDefinitionstaplerRequest - staplerRequestjsonObject - 用户提交的健值对数据 User submitted map data@CheckForNull public ParameterValue createValue(org.kohsuke.stapler.StaplerRequest staplerRequest)
createValue 在类中 ParameterDefinitionpublic ParameterValue createValue(CLICommand command, String value)
createValue 在类中 ParameterDefinitionpublic ParameterValue getDefaultParameterValue()
public int compareTo(CheckboxParameterDefinition o)
compareTo 在接口中 Comparable<CheckboxParameterDefinition>public String getDivId()
public CheckboxList getCheckboxList()
public CheckboxParameterDefinition.DescriptorImpl getDescriptor()
getDescriptor 在接口中 Describable<ParameterDefinition>getDescriptor 在类中 ParameterDefinitionCopyright © 2016–2020. All rights reserved.