@Test public void generateSessionIdIfLengthIsPositive() { when(propertyChain.getProperty(TRACEE_DEFAULT_PROFILE_PREFIX + GENERATE_SESSION_ID)).thenReturn("1"); assertThat(unit.shouldGenerateSessionId(), is(true)); }
@Override public boolean shouldGenerateSessionId() { return generatedSessionIdLength() > 0; }
PropertiesBasedTraceeFilterConfiguration implements TraceeFilterConfiguration { @Override public boolean shouldGenerateSessionId() { return generatedSessionIdLength() > 0; } }
PropertiesBasedTraceeFilterConfiguration implements TraceeFilterConfiguration { @Override public boolean shouldGenerateSessionId() { return generatedSessionIdLength() > 0; } PropertiesBasedTraceeFilterConfiguration(PropertyChain propertyChain);  PropertiesBasedTraceeFilterConfiguration(PropertyChain propertyChain,
													String profileName); }
PropertiesBasedTraceeFilterConfiguration implements TraceeFilterConfiguration { @Override public boolean shouldGenerateSessionId() { return generatedSessionIdLength() > 0; } PropertiesBasedTraceeFilterConfiguration(PropertyChain propertyChain);  PropertiesBasedTraceeFilterConfiguration(PropertyChain propertyChain,
													String profileName); static PropertyChain loadPropertyChain(); @Override boolean shouldProcessParam(String paramName, Channel channel); @Override boolean shouldProcessContext(final Channel channel); @Override boolean shouldGenerateInvocationId(); @Override int generatedInvocationIdLength(); @Override boolean shouldGenerateSessionId(); @Override int generatedSessionIdLength(); @Override Map<String, String> filterDeniedParams(final Map<String, String> unfiltered, final Channel channel); }
PropertiesBasedTraceeFilterConfiguration implements TraceeFilterConfiguration { @Override public boolean shouldGenerateSessionId() { return generatedSessionIdLength() > 0; } PropertiesBasedTraceeFilterConfiguration(PropertyChain propertyChain);  PropertiesBasedTraceeFilterConfiguration(PropertyChain propertyChain,
													String profileName); static PropertyChain loadPropertyChain(); @Override boolean shouldProcessParam(String paramName, Channel channel); @Override boolean shouldProcessContext(final Channel channel); @Override boolean shouldGenerateInvocationId(); @Override int generatedInvocationIdLength(); @Override boolean shouldGenerateSessionId(); @Override int generatedSessionIdLength(); @Override Map<String, String> filterDeniedParams(final Map<String, String> unfiltered, final Channel channel);  }