Class TabsGroupParameterDefinition
java.lang.Object
hudson.model.ParameterDefinition
io.jenkins.plugins.TabsGroupParameterDefinition
- All Implemented Interfaces:
ExtensionPoint, Describable<ParameterDefinition>, Serializable
Entrypoint of tab parameters
Define a list of tabs
TabParametersDefinition the contains other parameters
Parameters can be any Jenkins ParameterDefinition
The method createValue(StaplerRequest2, JSONObject) make the work of generating values of parameters inside the tabs
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classNested classes/interfaces inherited from class ParameterDefinition
ParameterDefinition.ParameterDescriptorNested classes/interfaces inherited from interface ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
Fields inherited from class ParameterDefinition
LIST -
Constructor Summary
ConstructorsConstructorDescriptionTabsGroupParameterDefinition(String name, List<TabParametersDefinition> tabs) -
Method Summary
Modifier and TypeMethodDescriptioncreateValue(org.kohsuke.stapler.StaplerRequest2 req) createValue(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject jo) booleangetTabs()inthashCode()protected ObjectThe uids are transient, so they must be set again when the definition is loaded from the config.static UUIDStable uid of a tab, so that values created without the definition, e.g.toString()Methods inherited from class ParameterDefinition
all, copyWithDefaultValue, createValue, createValue, createValue, getDefaultParameterValue, getDescription, getDescriptor, getFormattedDescription, getName, getType, isValid, setDescription
-
Constructor Details
-
TabsGroupParameterDefinition
@DataBoundConstructor public TabsGroupParameterDefinition(String name, List<TabParametersDefinition> tabs)
-
-
Method Details
-
readResolve
The uids are transient, so they must be set again when the definition is loaded from the config. -
tabUid
-
createValue
public TabsGroupParameterValue createValue(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject jo) - Overrides:
createValuein classParameterDefinition
-
createValue
- Overrides:
createValuein classParameterDefinition
-
getTabs
-
equals
- Overrides:
equalsin classParameterDefinition
-
hashCode
public int hashCode()- Overrides:
hashCodein classParameterDefinition
-
toString
-