public static final class TestPropertyValues.Pair extends Object
Modifier and Type | Method and Description |
---|---|
void |
addTo(Map<String,Object> properties) |
static TestPropertyValues.Pair |
fromMapEntry(Map.Entry<String,String> entry)
Factory method to create a
TestPropertyValues.Pair from a Map.Entry . |
static TestPropertyValues.Pair |
of(String name,
String value)
Factory method to create a
TestPropertyValues.Pair from a name and value. |
static TestPropertyValues.Pair |
parse(String pair) |
public static TestPropertyValues.Pair parse(String pair)
public static TestPropertyValues.Pair fromMapEntry(Map.Entry<String,String> entry)
TestPropertyValues.Pair
from a Map.Entry
.entry
- the map entryTestPropertyValues.Pair
instance or null
public static TestPropertyValues.Pair of(String name, String value)
TestPropertyValues.Pair
from a name and value.name
- the namevalue
- the valueTestPropertyValues.Pair
instance or null