Class ScoreBuilder.NoLevels

Object
akka.javasdk.decision.ScoreBuilder.NoLevels
Enclosing class:
ScoreBuilder

public static final class ScoreBuilder.NoLevels extends Object
A score question without levels. Define the levels.
  • Method Details

    • levels

      public ScoreBuilder.Ready levels(String lowest, String next, String... higher)
      Define the levels of the scale, from lowest to highest.
      Parameters:
      lowest - the description of the lowest level
      next - the description of the next level
      higher - the descriptions of further levels, in increasing order