Class ParameterBuilder.StringBuilder

java.lang.Object
org.moeaframework.analysis.parameter.ParameterBuilder.StringBuilder
Enclosing class:
ParameterBuilder

public static class ParameterBuilder.StringBuilder extends Object
A typed parameter builder for strings.
  • Method Details

    • constant

      public Constant<String> constant(String value)
      Builds a constant parameter with the given value.
      Parameters:
      value - the constant value
      Returns:
      the parameter
    • withValues

      public Enumeration<String> withValues(String... values)
      Builds an enumeration with the given values.
      Parameters:
      values - the enumerated values
      Returns:
      the parameter