Class MatrixCombinationsParameterDefinition
- java.lang.Object
-
- hudson.model.ParameterDefinition
-
- hudson.model.SimpleParameterDefinition
-
- hudson.plugins.matrix_configuration_parameter.MatrixCombinationsParameterDefinition
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<ParameterDefinition>
,Serializable
public class MatrixCombinationsParameterDefinition extends SimpleParameterDefinition
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MatrixCombinationsParameterDefinition.DescriptorImpl
-
Nested 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
Constructors Constructor Description MatrixCombinationsParameterDefinition(String name, String description)
MatrixCombinationsParameterDefinition(String name, String description, String defaultCombinationFilter)
MatrixCombinationsParameterDefinition(String name, String description, String defaultCombinationFilter, List<MatrixCombinationsShortcut> shortcutList)
ctor
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MatrixCombinationsParameterValue
createValue(String value)
MatrixCombinationsParameterValue
createValue(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject jo)
String
getDefaultCombinationFilter()
MatrixCombinationsParameterValue
getDefaultParameterValue()
static List<MatrixCombinationsShortcut>
getDefaultShortcutList()
List<MatrixCombinationsShortcut>
getShortcutList()
-
Methods inherited from class hudson.model.SimpleParameterDefinition
createValue, createValue
-
Methods inherited from class hudson.model.ParameterDefinition
all, copyWithDefaultValue, equals, getDescription, getDescriptor, getFormattedDescription, getName, getType, hashCode, isValid, setDescription
-
-
-
-
Constructor Detail
-
MatrixCombinationsParameterDefinition
@DataBoundConstructor public MatrixCombinationsParameterDefinition(String name, String description, String defaultCombinationFilter, List<MatrixCombinationsShortcut> shortcutList)
ctor- Parameters:
name
- the name of the parameterdescription
- the description for the parameterdefaultCombinationFilter
- combinations filter to used to calculate default checksshortcutList
- the list of shortcuts to display- Since:
- 1.1.0
-
MatrixCombinationsParameterDefinition
public MatrixCombinationsParameterDefinition(String name, String description, String defaultCombinationFilter)
-
-
Method Detail
-
getDefaultCombinationFilter
public String getDefaultCombinationFilter()
- Returns:
- groovy expression to specify default checked combinations
-
getShortcutList
@Nonnull public List<MatrixCombinationsShortcut> getShortcutList()
- Returns:
- list of shortcuts
- Since:
- 1.1.0
-
getDefaultShortcutList
public static List<MatrixCombinationsShortcut> getDefaultShortcutList()
- Returns:
- list of shortcuts that should be used as defaults
- Since:
- 1.1.0
-
createValue
public MatrixCombinationsParameterValue createValue(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject jo)
- Specified by:
createValue
in classParameterDefinition
-
createValue
public MatrixCombinationsParameterValue createValue(String value)
- Specified by:
createValue
in classSimpleParameterDefinition
-
getDefaultParameterValue
public MatrixCombinationsParameterValue getDefaultParameterValue()
- Overrides:
getDefaultParameterValue
in classParameterDefinition
-
-