public abstract class MatrixConfigurationSorter extends hudson.model.AbstractDescribableImpl<MatrixConfigurationSorter> implements hudson.ExtensionPoint, Comparator<MatrixConfiguration>
MatrixConfiguration
s of matrix job MatrixProject
MatrixConfigurationSorterDescriptor
Constructor and Description |
---|
MatrixConfigurationSorter() |
Modifier and Type | Method and Description |
---|---|
MatrixConfigurationSorterDescriptor |
getDescriptor() |
abstract void |
validate(MatrixProject p)
Checks if this sorter is properly configured and applicable for the given project.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compare, comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public abstract void validate(MatrixProject p) throws hudson.util.FormValidation
This method is invoked when the configuration is submitted to ensure that the sorter is compatible
with the current project configuration (most probably with its Axis
.)
p
- Project for which this sorter is being used for.hudson.util.FormValidation
- If you need to report an error to the user and reject the form submission.public MatrixConfigurationSorterDescriptor getDescriptor()
getDescriptor
in interface hudson.model.Describable<MatrixConfigurationSorter>
getDescriptor
in class hudson.model.AbstractDescribableImpl<MatrixConfigurationSorter>
Copyright © 2016. All rights reserved.