|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.utils.Comparators
public class Comparators
Method Summary | ||
---|---|---|
static java.util.Comparator<java.lang.String> |
getApplicationBuildNumberComparator()
|
|
static java.util.Comparator<ResultsSummary> |
getBuildCompletedDateComparator()
|
|
static com.google.common.collect.Ordering<ResultStatisticsProvider> |
getBuildDateComparator()
Deprecated. since 3.0 use getBuildDateOrdering() |
|
static com.google.common.collect.Ordering<ResultStatisticsProvider> |
getBuildDateOrdering()
|
|
static com.google.common.collect.Ordering<DescriptionProvider> |
getDescriptionProviderComparator()
Deprecated. since 3.0 use getDescriptionProviderOrdering() |
|
static com.google.common.collect.Ordering<DescriptionProvider> |
getDescriptionProviderOrdering()
|
|
static java.util.Comparator<ElasticImageConfiguration> |
getElasticImageConfigurationNameComparator()
|
|
static java.util.Comparator<Job> |
getJobStagePlanNameCaseInsensitiveComparator()
|
|
static java.util.Comparator<LabelCount> |
getLabelCountAlphabeticComparator()
|
|
static java.util.Comparator<LabelCount> |
getLabelCountRankComparator()
|
|
static com.google.common.collect.Ordering<NameProvider> |
getNameProviderCaseInsensitiveComparator()
Deprecated. since 3.0 use getNameProviderCaseInsensitiveOrdering() |
|
static com.google.common.collect.Ordering<NameProvider> |
getNameProviderCaseInsensitiveOrdering()
Do not use this for plans unless you know the plans you are sorting are within the same parent (e.g. |
|
static com.google.common.collect.Ordering<NameProvider> |
getNameProviderComparator()
Deprecated. since 3.0 use getNameProviderOrdering() |
|
static com.google.common.collect.Ordering<NameProvider> |
getNameProviderOrdering()
|
|
static com.google.common.collect.Ordering<Plan> |
getPlanNameProviderCaseInsensitiveOrdering()
This method will be slower than getTopLevelPlanNameProviderCaseInsensitiveOrdering() so consider using that
instead. |
|
static com.google.common.collect.Ordering<ResultsSummary> |
getPlanNameResultComparator()
Deprecated. since 3.0 use getPlanNameResultOrdering() |
|
static com.google.common.collect.Ordering<ResultsSummary> |
getPlanNameResultOrdering()
|
|
static com.google.common.collect.Ordering<ResultsSummary> |
getResultsSummaryNumberComparator()
Deprecated. since 3.0 use getResultsSummaryNumberOrdering() |
|
static com.google.common.collect.Ordering<ResultsSummary> |
getResultsSummaryNumberOrdering()
|
|
static com.google.common.collect.Ordering<TopLevelPlan> |
getTopLevelPlanNameProviderCaseInsensitiveOrdering()
|
|
static
|
stringPropertyCaseInsensitiveComparator(java.lang.Class<T> beanClass,
java.lang.String propertyName)
|
|
static
|
stringPropertyComparator(java.lang.Class<T> beanClass,
java.lang.String propertyName)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
@NotNull public static java.util.Comparator<ResultsSummary> getBuildCompletedDateComparator()
@Deprecated @NotNull public static com.google.common.collect.Ordering<ResultStatisticsProvider> getBuildDateComparator()
getBuildDateOrdering()
Ordering
object@NotNull public static com.google.common.collect.Ordering<ResultStatisticsProvider> getBuildDateOrdering()
@Deprecated @NotNull public static com.google.common.collect.Ordering<DescriptionProvider> getDescriptionProviderComparator()
getDescriptionProviderOrdering()
Ordering
object@NotNull public static com.google.common.collect.Ordering<DescriptionProvider> getDescriptionProviderOrdering()
@NotNull public static java.util.Comparator<ElasticImageConfiguration> getElasticImageConfigurationNameComparator()
@NotNull public static java.util.Comparator<LabelCount> getLabelCountAlphabeticComparator()
@NotNull public static java.util.Comparator<LabelCount> getLabelCountRankComparator()
@Deprecated @NotNull public static com.google.common.collect.Ordering<NameProvider> getNameProviderComparator()
getNameProviderOrdering()
Ordering
object@NotNull public static com.google.common.collect.Ordering<NameProvider> getNameProviderOrdering()
@NotNull public static com.google.common.collect.Ordering<TopLevelPlan> getTopLevelPlanNameProviderCaseInsensitiveOrdering()
@NotNull public static com.google.common.collect.Ordering<Plan> getPlanNameProviderCaseInsensitiveOrdering()
getTopLevelPlanNameProviderCaseInsensitiveOrdering()
so consider using that
instead.
Ordering
object@Deprecated @NotNull public static com.google.common.collect.Ordering<NameProvider> getNameProviderCaseInsensitiveComparator()
getNameProviderCaseInsensitiveOrdering()
Ordering
object@NotNull public static com.google.common.collect.Ordering<NameProvider> getNameProviderCaseInsensitiveOrdering()
getTopLevelPlanNameProviderCaseInsensitiveOrdering()
or getPlanNameProviderCaseInsensitiveOrdering()
instead
@NotNull public static <T> java.util.Comparator<T> stringPropertyComparator(@NotNull java.lang.Class<T> beanClass, @NotNull java.lang.String propertyName)
@NotNull public static <T> java.util.Comparator<T> stringPropertyCaseInsensitiveComparator(@NotNull java.lang.Class<T> beanClass, @NotNull java.lang.String propertyName)
@Deprecated @NotNull public static com.google.common.collect.Ordering<ResultsSummary> getResultsSummaryNumberComparator()
getResultsSummaryNumberOrdering()
Ordering
object@NotNull public static com.google.common.collect.Ordering<ResultsSummary> getResultsSummaryNumberOrdering()
@NotNull public static java.util.Comparator<Job> getJobStagePlanNameCaseInsensitiveComparator()
@NotNull public static java.util.Comparator<java.lang.String> getApplicationBuildNumberComparator()
@Deprecated @NotNull public static com.google.common.collect.Ordering<ResultsSummary> getPlanNameResultComparator()
getPlanNameResultOrdering()
Ordering
object@NotNull public static com.google.common.collect.Ordering<ResultsSummary> getPlanNameResultOrdering()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |