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.ParameterDescriptor
Nested 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) -
Method Summary
Modifier and TypeMethodDescriptioncopyWithDefaultValue
(ParameterValue defaultValue) createValue
(String value) createValue
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject jo) boolean
int
hashCode()
boolean
isValid
(ParameterValue value) void
setCacheTime
(Integer cacheTime) void
setDefaultValue
(String defaultValue) void
setDisplayExpression
(String displayExpression) void
void
setValueOrder
(ValueOrder valueOrder) Methods inherited from class hudson.model.SimpleParameterDefinition
createValue, createValue
Methods inherited from class hudson.model.ParameterDefinition
all, 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
-
getErrorMsg
-
getValues
-
copyWithDefaultValue
- Overrides:
copyWithDefaultValue
in classParameterDefinition
-
createValue
- Specified by:
createValue
in classSimpleParameterDefinition
-
createValue
public ParameterValue createValue(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject jo) - Specified by:
createValue
in classParameterDefinition
-
isValid
- Overrides:
isValid
in classParameterDefinition
-
hashCode
public int hashCode()- Overrides:
hashCode
in classParameterDefinition
-
equals
- Overrides:
equals
in classParameterDefinition
-