-
- All Implemented Interfaces:
-
icu.windea.breezeframework.core.component.Component,icu.windea.breezeframework.core.component.ConfigurableComponent,icu.windea.breezeframework.core.component.ConfigurableRandomGenerator,icu.windea.breezeframework.core.component.RandomGenerator,icu.windea.breezeframework.core.component.TypedComponent,icu.windea.breezeframework.core.model.Configurable
@ConfigParam(name = min, type = LocalTime)@ConfigParam(name = max, type = LocalTime)@ConfigParam(name = format, type = String, defaultValue = yyyy-MM-dd)@ConfigParam(name = locale, type = String | Locale, defaultValue = <default>)@ConfigParam(name = timeZone, type = String | TimeZone, defaultValue = <utc>)@ConfigParamsPassing(target = Converter.LocalTimeConverter.class, configParams = format, locale, timeZone) public class RandomGenerator.RandomLocalTimeGenerator extends AbstractRandomGenerator<LocalTime> implements ConfigurableRandomGenerator<LocalTime>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classRandomGenerator.RandomLocalTimeGenerator.Default
-
Constructor Summary
Constructors Constructor Description RandomGenerator.RandomLocalTimeGenerator(Map<String, Object> configParams)
-
Method Summary
Modifier and Type Method Description final LocalTimegetMin()final LocalTimegetMax()final Map<String, Object>getConfigParams()配置参数。 Class<LocalTime>getTargetType()目标类型。 RandomGenerator.RandomLocalTimeGeneratorconfigure(Map<String, Object> configParams)根据指定的配置复制当前对象,返回一个新对象。 LocalTimegenerate()生成随机值。 -
-
Method Detail
-
getConfigParams
final Map<String, Object> getConfigParams()
配置参数。
-
getTargetType
Class<LocalTime> getTargetType()
目标类型。
-
configure
RandomGenerator.RandomLocalTimeGenerator configure(Map<String, Object> configParams)
根据指定的配置复制当前对象,返回一个新对象。
-
-
-
-