public class RandomValuePropertySource extends org.springframework.core.env.PropertySource<Random>
PropertySource that returns a random value for any property that starts with
"random.". Return a byte[] unless the property name ends with
".int or ".long".| Constructor and Description |
|---|
RandomValuePropertySource(String name) |
| Modifier and Type | Method and Description |
|---|---|
static void |
addToEnvironment(org.springframework.core.env.ConfigurableEnvironment environment) |
Object |
getProperty(String name) |
public RandomValuePropertySource(String name)
Copyright © 2014. All rights reserved.