Package io.jenkins.plugins.restlistparam
Class RestListParameterDefinition
java.lang.Object
hudson.model.ParameterDefinition
hudson.model.SimpleParameterDefinition
io.jenkins.plugins.restlistparam.RestListParameterDefinition
- All Implemented Interfaces:
ExtensionPoint,Describable<ParameterDefinition>,Serializable
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class hudson.model.ParameterDefinition
ParameterDefinition.ParameterDescriptorNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
Fields inherited from class hudson.model.ParameterDefinition
LIST -
Constructor Summary
ConstructorsConstructorDescriptionRestListParameterDefinition(String name, String description, String restEndpoint, String credentialId, MimeType mimeType, String valueExpression, String displayExpression) RestListParameterDefinition(String name, String description, String restEndpoint, String credentialId, MimeType mimeType, String valueExpression, String displayExpression, ValueOrder valueOrder, String filter, Integer cacheTime, String defaultValue, boolean allowEmptyValue) -
Method Summary
Modifier and TypeMethodDescriptioncopyWithDefaultValue(ParameterValue defaultValue) createValue(String value) createValue(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject jo) booleaninthashCode()booleanbooleanisValid(ParameterValue value) voidsetAllowEmptyValue(boolean allowEmptyValue) voidsetCacheTime(Integer cacheTime) voidsetDefaultValue(String defaultValue) voidsetDisplayExpression(String displayExpression) voidvoidsetValueOrder(ValueOrder valueOrder) Methods inherited from class hudson.model.SimpleParameterDefinition
createValue, createValueMethods inherited from class hudson.model.ParameterDefinition
all, createValue, createValue, getDefaultParameterValue, getDescription, getDescriptor, getFormattedDescription, getName, getType, setDescription
-
Constructor Details
-
RestListParameterDefinition
-
RestListParameterDefinition
-
-
Method Details
-
getRestEndpoint
-
getCredentialId
-
getMimeType
-
getValueExpression
-
getFilter
-
getDisplayExpression
-
setDisplayExpression
-
setValueOrder
-
getValueOrder
-
setFilter
-
getCacheTime
-
setCacheTime
-
getDefaultValue
-
setDefaultValue
-
isAllowEmptyValue
public boolean isAllowEmptyValue() -
setAllowEmptyValue
@DataBoundSetter public void setAllowEmptyValue(boolean allowEmptyValue) -
getErrorMsg
-
getValues
-
copyWithDefaultValue
- Overrides:
copyWithDefaultValuein classParameterDefinition
-
createValue
- Specified by:
createValuein classSimpleParameterDefinition
-
createValue
public ParameterValue createValue(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject jo) - Overrides:
createValuein classParameterDefinition
-
isValid
- Overrides:
isValidin classParameterDefinition
-
hashCode
public int hashCode()- Overrides:
hashCodein classParameterDefinition
-
equals
- Overrides:
equalsin classParameterDefinition
-