Package dev.orne.i18n

Class I18nStringGenerator

java.lang.Object
dev.orne.test.rnd.AbstractGenerator
dev.orne.test.rnd.params.AbstractParameterizableGenerator<P>
dev.orne.test.rnd.params.AbstractTypedParameterizableGenerator<I18nString,dev.orne.test.rnd.params.StringGenerationParameters>
dev.orne.i18n.I18nStringGenerator
All Implemented Interfaces:
dev.orne.test.rnd.Generator, dev.orne.test.rnd.params.ParameterizableGenerator, dev.orne.test.rnd.params.TypedParameterizableGenerator<I18nString>, dev.orne.test.rnd.TypedGenerator<I18nString>

@API(status=INTERNAL, since="0.1") @Priority(-1000) public class I18nStringGenerator extends dev.orne.test.rnd.params.AbstractTypedParameterizableGenerator<I18nString,dev.orne.test.rnd.params.StringGenerationParameters>
Generator of I18nFixedString values.
Since:
0.1
Version:
1.0, 2023-10
Author:
(w) Iker Hernaez
  • Field Summary

    Fields inherited from class dev.orne.test.rnd.AbstractGenerator

    DEFAULT_NULL_PROBABILITY
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a new instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull I18nString
    defaultValue(@NotNull dev.orne.test.rnd.params.StringGenerationParameters parameters)
    @NotNull I18nString
    randomValue(@NotNull dev.orne.test.rnd.params.StringGenerationParameters parameters)

    Methods inherited from class dev.orne.test.rnd.params.AbstractTypedParameterizableGenerator

    defaultValue, defaultValue, defaultValue, equals, getValueType, hashCode, nullableDefaultValue, nullableDefaultValue, nullableDefaultValue, nullableRandomValue, nullableRandomValue, nullableRandomValue, randomValue, randomValue, randomValue, supports

    Methods inherited from class dev.orne.test.rnd.params.AbstractParameterizableGenerator

    createEmptyParams, createParams, defaultValue, defaultValue, getExtractor, getParametersType, nullableDefaultValue, nullableDefaultValue, nullableDefaultValue, nullableRandomValue, nullableRandomValue, nullableRandomValue, randomValue, randomValue

    Methods inherited from class dev.orne.test.rnd.AbstractGenerator

    assertSupported, getNullProbability, randomNull, setNullProbability, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface dev.orne.test.rnd.Generator

    asParameterizable, defaultValue, getPriority, nullableDefaultValue, nullableRandomValue, randomValue

    Methods inherited from interface dev.orne.test.rnd.params.ParameterizableGenerator

    defaultValue, nullableDefaultValue, nullableRandomValue, randomValue
  • Constructor Details

    • I18nStringGenerator

      public I18nStringGenerator()
      Creates a new instance.
  • Method Details

    • defaultValue

      @NotNull public @NotNull I18nString defaultValue(@NotNull @NotNull dev.orne.test.rnd.params.StringGenerationParameters parameters)
      Specified by:
      defaultValue in class dev.orne.test.rnd.params.AbstractTypedParameterizableGenerator<I18nString,dev.orne.test.rnd.params.StringGenerationParameters>
    • randomValue

      @NotNull public @NotNull I18nString randomValue(@NotNull @NotNull dev.orne.test.rnd.params.StringGenerationParameters parameters)
      Specified by:
      randomValue in class dev.orne.test.rnd.params.AbstractTypedParameterizableGenerator<I18nString,dev.orne.test.rnd.params.StringGenerationParameters>