@Deprecated public class SplitClientBuilder extends Object
| Constructor and Description |
|---|
SplitClientBuilder()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static SplitClient |
build(String apiToken)
Deprecated.
|
static SplitClient |
build(String apiToken,
SplitClientConfig config)
Deprecated.
|
static void |
main(String... args)
Deprecated.
|
@Deprecated public static SplitClient build(String apiToken) throws IOException, InterruptedException, TimeoutException, URISyntaxException
apiToken - the API token. MUST NOT be nullIOException - if the SDK was being started in 'localhost' mode, but
there were problems reading the override file from disk.InterruptedException - if you asked to block until the sdk was
ready and the block was interrupted.TimeoutException - if you asked to block until the sdk was
ready and the timeout specified via config#ready() passed.URISyntaxException@Deprecated public static SplitClient build(String apiToken, SplitClientConfig config) throws IOException, InterruptedException, TimeoutException, URISyntaxException
apiToken - the API token. MUST NOT be nullconfig - parameters to control sdk construction. MUST NOT be null.IOException - if the SDK was being started in 'localhost' mode, but
there were problems reading the override file from disk.InterruptedException - if you asked to block until the sdk was
ready and the block was interrupted.TimeoutException - if you asked to block until the sdk was
ready and the timeout specified via config#ready() passed.URISyntaxExceptionpublic static void main(String... args) throws IOException, InterruptedException, TimeoutException, URISyntaxException
Copyright © 2016. All rights reserved.