Package io.jenkins.plugins
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 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
ConstructorsConstructorDescriptionTabsGroupParameterDefinition(String name, List<TabParametersDefinition> tabs) -
Method Summary
Modifier and TypeMethodDescriptioncopyWithDefaultValue(ParameterValue defaultValue) Copy of this definition whose parameters default to the ones of the given previous value.createValue(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 hudson.model.ParameterDefinition
all, 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
Stable uid of a tab, so that values created without the definition, e.g. by the pipeline build step, match the tabs displayed by the definition. -
createValue
public TabsGroupParameterValue createValue(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject jo) - Overrides:
createValuein classParameterDefinition
-
createValue
- Overrides:
createValuein classParameterDefinition
-
copyWithDefaultValue
Copy of this definition whose parameters default to the ones of the given previous value.- Overrides:
copyWithDefaultValuein classParameterDefinition
-
getInitialTabUid
-
getTabs
-
equals
- Overrides:
equalsin classParameterDefinition
-
hashCode
public int hashCode()- Overrides:
hashCodein classParameterDefinition
-
toString
-