Enum Class OptimizationStrategy

java.lang.Object
java.lang.Enum<OptimizationStrategy>
com.eqixiac.equinix.design.optimizer.enums.OptimizationStrategy
All Implemented Interfaces:
Serializable, Comparable<OptimizationStrategy>, Constable

public enum OptimizationStrategy extends Enum<OptimizationStrategy>
Named weightings of the optimizer's objectives, each one of the WeightProfiles profiles. A convenience for callers that prefer an enum to a profile name: profile() is what goes into DesignObjectives.profile.
  • Enum Constant Details

    • BALANCED

      public static final OptimizationStrategy BALANCED
      The balanced profile.
    • LATENCY_FIRST

      public static final OptimizationStrategy LATENCY_FIRST
      The latency_first profile.
    • COST_FIRST

      public static final OptimizationStrategy COST_FIRST
      The cost_first profile.
    • REDUNDANCY_FIRST

      public static final OptimizationStrategy REDUNDANCY_FIRST
      The redundancy_first profile.
    • PROVIDER_COVERAGE_FIRST

      public static final OptimizationStrategy PROVIDER_COVERAGE_FIRST
      The provider_coverage_first profile.
  • Method Details

    • values

      public static OptimizationStrategy[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static OptimizationStrategy valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • profile

      public String profile()
      Returns:
      the WeightProfiles name