@Test public void should_set_config() { DataSiftConfig config = new DataSiftConfig(); config.baseURL = "http: config.sourceID = "SOURCEID"; config.port = 18089; config.username = "USER"; config.apiKey = "APIKEY"; BulkManager bm = new BulkManager(config, null, null, null); assertEquals(config, bm.getConfig()); }
@VisibleForTesting @SuppressWarnings("checkstyle:designforextension") protected DataSiftConfig getConfig() { return this.config; }
BulkManager implements Runnable { @VisibleForTesting @SuppressWarnings("checkstyle:designforextension") protected DataSiftConfig getConfig() { return this.config; } }
BulkManager implements Runnable { @VisibleForTesting @SuppressWarnings("checkstyle:designforextension") protected DataSiftConfig getConfig() { return this.config; } BulkManager(final DataSiftConfig config,
                       final SimpleConsumerManager simpleConsumerManager,
                       final Backoff backoff,
                       final Metrics metrics); }
BulkManager implements Runnable { @VisibleForTesting @SuppressWarnings("checkstyle:designforextension") protected DataSiftConfig getConfig() { return this.config; } BulkManager(final DataSiftConfig config,
                       final SimpleConsumerManager simpleConsumerManager,
                       final Backoff backoff,
                       final Metrics metrics); final void setLogger(final Logger logger); final void shutdown(); final void run(); @SuppressWarnings("checkstyle:designforextension") HttpResponse post(final String data); }
BulkManager implements Runnable { @VisibleForTesting @SuppressWarnings("checkstyle:designforextension") protected DataSiftConfig getConfig() { return this.config; } BulkManager(final DataSiftConfig config,
                       final SimpleConsumerManager simpleConsumerManager,
                       final Backoff backoff,
                       final Metrics metrics); final void setLogger(final Logger logger); final void shutdown(); final void run(); @SuppressWarnings("checkstyle:designforextension") HttpResponse post(final String data);  }