@Test public void shouldSetBreadcrumbLocations() { RaygunClientFactory factory = getFactory("apiKey"); assertFalse(getClient(factory).shouldProcessBreadcrumbLocation()); factory.withBreadcrumbLocations(); assertTrue(getClient(factory).shouldProcessBreadcrumbLocation()); }
public RaygunClientFactory withBreadcrumbLocations() { this.shouldProcessBreadcrumbLocations = true; return this; }
RaygunClientFactory implements IRaygunClientFactory { public RaygunClientFactory withBreadcrumbLocations() { this.shouldProcessBreadcrumbLocations = true; return this; } }
RaygunClientFactory implements IRaygunClientFactory { public RaygunClientFactory withBreadcrumbLocations() { this.shouldProcessBreadcrumbLocations = true; return this; } RaygunClientFactory(String apiKey); }
RaygunClientFactory implements IRaygunClientFactory { public RaygunClientFactory withBreadcrumbLocations() { this.shouldProcessBreadcrumbLocations = true; return this; } RaygunClientFactory(String apiKey); RaygunClientFactory withBeforeSend(IRaygunSendEventFactory<IRaygunOnBeforeSend> onBeforeSend); RaygunClientFactory withAfterSend(IRaygunSendEventFactory<IRaygunOnAfterSend> onAfterSend); RaygunClientFactory withFailedSend(IRaygunSendEventFactory<IRaygunOnFailedSend> onFailedSend); RaygunClientFactory withApiKey(String apiKey); RaygunClientFactory withVersion(String version); RaygunClientFactory withVersionFrom(Class versionFromClass); RaygunClientFactory withMessageBuilder(IRaygunMessageBuilderFactory messageBuilderFactory); RaygunClientFactory withOfflineStorage(); RaygunClientFactory withOfflineStorage(String storageDir); RaygunClientFactory withBreadcrumbLocations(); RaygunClientFactory withTag(String tag); Set<String> getTags(); void setTags(Set<String> tags); Map<?, ?> getData(); void setData(Map<?, ?> data); RaygunClientFactory withData(Object key, Object value); RaygunClientFactory withWrappedExceptionStripping(Class... stripWrappers); RaygunClientFactory withExcludedExceptions(Class... excludedWrappers); RaygunClient newClient(); T buildClient(T client); AbstractRaygunSendEventChainFactory<IRaygunOnBeforeSend> getRaygunOnBeforeSendChainFactory(); AbstractRaygunSendEventChainFactory getRaygunOnAfterSendChainFactory(); AbstractRaygunSendEventChainFactory getRaygunOnFailedSendChainFactory(); }
RaygunClientFactory implements IRaygunClientFactory { public RaygunClientFactory withBreadcrumbLocations() { this.shouldProcessBreadcrumbLocations = true; return this; } RaygunClientFactory(String apiKey); RaygunClientFactory withBeforeSend(IRaygunSendEventFactory<IRaygunOnBeforeSend> onBeforeSend); RaygunClientFactory withAfterSend(IRaygunSendEventFactory<IRaygunOnAfterSend> onAfterSend); RaygunClientFactory withFailedSend(IRaygunSendEventFactory<IRaygunOnFailedSend> onFailedSend); RaygunClientFactory withApiKey(String apiKey); RaygunClientFactory withVersion(String version); RaygunClientFactory withVersionFrom(Class versionFromClass); RaygunClientFactory withMessageBuilder(IRaygunMessageBuilderFactory messageBuilderFactory); RaygunClientFactory withOfflineStorage(); RaygunClientFactory withOfflineStorage(String storageDir); RaygunClientFactory withBreadcrumbLocations(); RaygunClientFactory withTag(String tag); Set<String> getTags(); void setTags(Set<String> tags); Map<?, ?> getData(); void setData(Map<?, ?> data); RaygunClientFactory withData(Object key, Object value); RaygunClientFactory withWrappedExceptionStripping(Class... stripWrappers); RaygunClientFactory withExcludedExceptions(Class... excludedWrappers); RaygunClient newClient(); T buildClient(T client); AbstractRaygunSendEventChainFactory<IRaygunOnBeforeSend> getRaygunOnBeforeSendChainFactory(); AbstractRaygunSendEventChainFactory getRaygunOnAfterSendChainFactory(); AbstractRaygunSendEventChainFactory getRaygunOnFailedSendChainFactory();  }