Class MatrixCombinationsShortcut
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<MatrixCombinationsShortcut>
-
- hudson.plugins.matrix_configuration_parameter.shortcut.MatrixCombinationsShortcut
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<MatrixCombinationsShortcut>
- Direct Known Subclasses:
CombinationFilterShortcut
,MatrixCombinationsShortcut.All
,MatrixCombinationsShortcut.None
,PreviousShortcut
,ResultShortcut
public abstract class MatrixCombinationsShortcut extends AbstractDescribableImpl<MatrixCombinationsShortcut> implements ExtensionPoint
Defines shortcut link to select a set of axes combinations.- Since:
- 1.1.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MatrixCombinationsShortcut.All
Checks all combinations.static class
MatrixCombinationsShortcut.None
Uncheck all-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description MatrixCombinationsShortcut()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract Collection<hudson.matrix.Combination>
getCombinations(hudson.matrix.MatrixProject project, hudson.matrix.MatrixBuild build)
Return combinations to check for the buildString
getCombinationsData(hudson.matrix.MatrixProject project, hudson.matrix.MatrixBuild build)
Return a value used for javascript.MatrixCombinationsShortcutDescriptor
getDescriptor()
abstract String
getId()
abstract String
getName()
-
-
-
Method Detail
-
getCombinations
@Nonnull public abstract Collection<hudson.matrix.Combination> getCombinations(@Nonnull hudson.matrix.MatrixProject project, @CheckForNull hudson.matrix.MatrixBuild build)
Return combinations to check for the build- Parameters:
project
- the target project.build
- the target build. Latest build for a new build.null
if there's no builds.- Returns:
- combinations to check.
-
getCombinationsData
@Nonnull public final String getCombinationsData(@Nonnull hudson.matrix.MatrixProject project, @CheckForNull hudson.matrix.MatrixBuild build)
Return a value used for javascript.- Parameters:
project
- the target project.build
- the target build- Returns:
- comma-separated list of combination indices
-
getName
@Nonnull public abstract String getName()
- Returns:
- name used for the link text.
-
getId
@Nonnull public abstract String getId()
- Returns:
- name used to distinguish links.
-
getDescriptor
public MatrixCombinationsShortcutDescriptor getDescriptor()
- Specified by:
getDescriptor
in interfaceDescribable<MatrixCombinationsShortcut>
- Overrides:
getDescriptor
in classAbstractDescribableImpl<MatrixCombinationsShortcut>
-
-