Class EnvironmentComparators

java.lang.Object
com.atlassian.bamboo.deployments.environments.EnvironmentComparators

public class EnvironmentComparators extends Object
  • Constructor Details

    • EnvironmentComparators

      public EnvironmentComparators()
  • Method Details

    • 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