public class NoopMatrixConfigurationSorter extends MatrixConfigurationSorter
MatrixConfigurationSorter
.Modifier and Type | Class and Description |
---|---|
static class |
NoopMatrixConfigurationSorter.DescriptorImpl |
Constructor and Description |
---|
NoopMatrixConfigurationSorter() |
Modifier and Type | Method and Description |
---|---|
int |
compare(MatrixConfiguration o1,
MatrixConfiguration o2) |
void |
validate(MatrixProject p)
Checks if this sorter is properly configured and applicable for the given project.
|
getDescriptor
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
@DataBoundConstructor public NoopMatrixConfigurationSorter()
public void validate(MatrixProject p) throws hudson.util.FormValidation
MatrixConfigurationSorter
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
.)
validate
in class MatrixConfigurationSorter
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 int compare(MatrixConfiguration o1, MatrixConfiguration o2)
Copyright © 2014. All rights reserved.