public final class FlagRule<T>
extends org.junit.rules.ExternalResource
static
field or system property.Constructor and Description |
---|
FlagRule(Supplier<T> getter,
Consumer<T> setter) |
FlagRule(Supplier<T> getter,
Consumer<T> setter,
T replacement) |
Modifier and Type | Method and Description |
---|---|
protected void |
after() |
protected void |
before() |
static FlagRule<String> |
systemProperty(String key) |
static FlagRule<String> |
systemProperty(String key,
String replacement) |
Copyright © 2004–2022. All rights reserved.