public class ParameterModelComparator extends Object implements Comparator<org.mule.runtime.api.meta.model.parameter.ParameterModel>
Comparator for sorting objects of type ParameterModel| Constructor and Description |
|---|
ParameterModelComparator(boolean infrastructureFirst)
Creates a new instance
|
| Modifier and Type | Method and Description |
|---|---|
int |
compare(org.mule.runtime.api.meta.model.parameter.ParameterModel left,
org.mule.runtime.api.meta.model.parameter.ParameterModel right) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic ParameterModelComparator(boolean infrastructureFirst)
infrastructureFirst - whether infrastructure parameters should be at the beginning or the endpublic int compare(org.mule.runtime.api.meta.model.parameter.ParameterModel left,
org.mule.runtime.api.meta.model.parameter.ParameterModel right)
compare in interface Comparator<org.mule.runtime.api.meta.model.parameter.ParameterModel>Copyright © 2017 MuleSoft, Inc.. All rights reserved.