Interface RandomBooleanFeatureConfiguration

All Superinterfaces:
FeatureConfiguration, Wrapper

@NullMarked @AsOf("3.0.0") public interface RandomBooleanFeatureConfiguration extends FeatureConfiguration
A configuration for a random boolean feature.
Since:
3.0.0
See Also:
  • Method Details

    • featureTrue

      @AsOf("3.0.0") PlacedFeature featureTrue()
      Gets the placed feature to use when the random boolean is true.
      Returns:
      the placed feature to use when the random boolean is true
      Since:
      3.0.0
    • featureFalse

      @AsOf("3.0.0") PlacedFeature featureFalse()
      Gets the placed feature to use when the random boolean is false.
      Returns:
      the placed feature to use when the random boolean is false
      Since:
      3.0.0
    • toBuilder

      @AsOf("3.0.0") default RandomBooleanFeatureConfiguration.Builder toBuilder()
      Converts this object back to a builder.
      Returns:
      a new builder with the same values as this configuration
      Since:
      3.0.0
    • of

      @AsOf("3.0.0") static RandomBooleanFeatureConfiguration of(PlacedFeature featureTrue, PlacedFeature featureFalse)
      Creates a new instance of this configuration.
      Parameters:
      featureTrue - the placed feature to use when the random boolean is true
      featureFalse - the placed feature to use when the random boolean is false
      Returns:
      a new instance of this configuration
      Since:
      3.0.0
    • builder

      Creates a new builder.
      Returns:
      a new builder
      Since:
      3.0.0