Class MatrixCombinationsShortcut

    • Constructor Detail

      • MatrixCombinationsShortcut

        public MatrixCombinationsShortcut()
    • 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.