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 TypeMethodDescriptionvoidstatic TestPropertyValues.PairfromMapEntry(Map.Entry<String, String> entry) Factory method to create aTestPropertyValues.Pairfrom aMap.Entry.static TestPropertyValues.PairFactory method to create aTestPropertyValues.Pairfrom a name and value.static TestPropertyValues.Pair
-
Method Details
-
addTo
-
parse
-
fromMapEntry
Factory method to create aTestPropertyValues.Pairfrom aMap.Entry.- Parameters:
entry- the map entry- Returns:
- the
TestPropertyValues.Pairinstance ornull - Since:
- 2.4.0
-
of
Factory method to create aTestPropertyValues.Pairfrom a name and value.- Parameters:
name- the namevalue- the value- Returns:
- the
TestPropertyValues.Pairinstance ornull - Since:
- 2.4.0
-