public class RandomValuePropertySource extends PropertySource<RandomSE>
PropertySource。ここで、「修飾されていないプロパティ名」は、リクエストされたプロパティ名の「ランダム」を超えた部分です。接頭辞、この PropertySource は次を返します:IntegerSE 値で、オプションで指定された範囲によって制限されます。LongSE 値が指定され、オプションで指定された範囲によって制限されます。byte[]。OPEN value (,max) CLOSE で、OPEN,CLOSE は任意の文字、value,max は整数です。max が与えられている場合は、value が最小値、max が最大値(含まない)となります。
PropertySource.StubPropertySource| 修飾子と型 | フィールドと説明 |
|---|---|
static StringSE | RANDOM_PROPERTY_SOURCE_NAME ランダム PropertySource の名前。 |
name, source| コンストラクターと説明 |
|---|
RandomValuePropertySource() |
RandomValuePropertySource(StringSE name) |
| 修飾子と型 | メソッドと説明 |
|---|---|
static void | addToEnvironment(ConfigurableEnvironment environment) |
ObjectSE | getProperty(StringSE name) |
containsProperty, equals, getName, getSource, hashCode, named, toStringcloneSE, finalizeSE, getClassSE, notifySE, notifyAllSE, waitSE, waitSE, waitSEpublic static final StringSE RANDOM_PROPERTY_SOURCE_NAME
PropertySource の名前。public RandomValuePropertySource(StringSE name)
public RandomValuePropertySource()
public ObjectSE getProperty(StringSE name)
PropertySource<RandomSE> の getProperty public static void addToEnvironment(ConfigurableEnvironment environment)