public class Flag extends Object implements Serializable
Feature can be either feature flag or remote config.
Feature flag - is a feature that you can turn on and off e.g. en endpoint for an API or instant messaging for mobile app
Remote config - is a feature you can configure per env and holds value, eg font size for image.
| Constructor and Description |
|---|
Flag() |
| Modifier and Type | Method and Description |
|---|---|
void |
parse(String data)
Parses given string into Flag object.
|
String |
toString() |
public void parse(String data) throws IOException
data - a json string representing flagIOException - when failed to parse dataCopyright © 2022. All rights reserved.