Class EnvironmentComparators


  • public class EnvironmentComparators
    extends Object
    • Constructor Detail

      • EnvironmentComparators

        public EnvironmentComparators()
    • Method Detail

      • byDeploymentProjectIdEnvironmentPositionAndName

        public static Comparator<InternalEnvironment> byDeploymentProjectIdEnvironmentPositionAndName()
        Return comparator that sorts environments by
        1. deployment project id,
        2. environment position in deployment project,
        3. environment name
      • byDeploymentProjectAndEnvironmentName

        public static Comparator<DecoratedEnvironment> byDeploymentProjectAndEnvironmentName()
        Return comparator that sorts environments by
        1. deployment project name,
        2. environment name