public class LocalhostSplitClientBuilder extends Object
$HOME/.splits has two columns separated by whitespace. First column is the name of the feature, the second column is the name of the treatment to always return for the corresponding feature. Empty lines or lines without exactly two columns are ignored. Lines that start with '#' will be ignored as comments.
If $HOME/.splits is not found, all features are assumed off.
| Modifier and Type | Field and Description |
|---|---|
static String |
FILENAME |
static String |
LOCALHOST |
| Constructor and Description |
|---|
LocalhostSplitClientBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static io.split.client.HardcodedFeatureTreatmentsSplitClient |
build() |
public static final String LOCALHOST
public static final String FILENAME
public static io.split.client.HardcodedFeatureTreatmentsSplitClient build()
throws IOException
IOExceptionCopyright © 2016. All rights reserved.