Class TestPropertyValues.Pair
java.lang.Object
org.springframework.boot.test.util.TestPropertyValues.Pair
- Enclosing class:
- TestPropertyValues
A single name value pair.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
static TestPropertyValues.Pair
fromMapEntry
(Map.Entry<String, String> entry) Factory method to create aTestPropertyValues.Pair
from aMap.Entry
.static TestPropertyValues.Pair
Factory method to create aTestPropertyValues.Pair
from a name and value.static TestPropertyValues.Pair
-
Method Details
-
addTo
-
parse
-
fromMapEntry
Factory method to create aTestPropertyValues.Pair
from aMap.Entry
.- Parameters:
entry
- the map entry- Returns:
- the
TestPropertyValues.Pair
instance ornull
- Since:
- 2.4.0
-
of
Factory method to create aTestPropertyValues.Pair
from a name and value.- Parameters:
name
- the namevalue
- the value- Returns:
- the
TestPropertyValues.Pair
instance ornull
- Since:
- 2.4.0
-