Class ResultShortcut
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<MatrixCombinationsShortcut>
-
- hudson.plugins.matrix_configuration_parameter.shortcut.MatrixCombinationsShortcut
-
- hudson.plugins.matrix_configuration_parameter.shortcut.ResultShortcut
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<MatrixCombinationsShortcut>
public class ResultShortcut extends MatrixCombinationsShortcut
Shortcut to select combinations based on build results- Since:
- 1.1.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ResultShortcut.DescriptorImpl
-
Nested classes/interfaces inherited from class hudson.plugins.matrix_configuration_parameter.shortcut.MatrixCombinationsShortcut
MatrixCombinationsShortcut.All, MatrixCombinationsShortcut.None
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description ResultShortcut(String name, boolean exact, Result... results)
ctorResultShortcut(String name, boolean exact, List<String> resultsToCheck)
ctor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<hudson.matrix.Combination>
getCombinations(hudson.matrix.MatrixProject project, hudson.matrix.MatrixBuild build)
Return combinations to check for the buildString
getId()
String
getName()
List<String>
getResultsToCheck()
boolean
isExact()
-
Methods inherited from class hudson.plugins.matrix_configuration_parameter.shortcut.MatrixCombinationsShortcut
getCombinationsData, getDescriptor
-
-
-
-
Method Detail
-
getName
@Nonnull public String getName()
- Specified by:
getName
in classMatrixCombinationsShortcut
- Returns:
- name used for the link text.
-
isExact
public boolean isExact()
- Returns:
- whether to test exact child builds
-
getId
public String getId()
- Specified by:
getId
in classMatrixCombinationsShortcut
- Returns:
- name used to distinguish links.
-
getCombinations
public Collection<hudson.matrix.Combination> getCombinations(hudson.matrix.MatrixProject project, hudson.matrix.MatrixBuild build)
Return combinations to check for the build- Specified by:
getCombinations
in classMatrixCombinationsShortcut
- 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.
-
-