public abstract class MatrixConfigurationSorter extends hudson.model.AbstractDescribableImpl<MatrixConfigurationSorter> implements hudson.ExtensionPoint, Comparator<MatrixConfiguration>
MatrixConfigurations of matrix job MatrixProjectMatrixConfigurationSorterDescriptor| 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, waitcompare, comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic 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 © 2004-2016. All Rights Reserved.