@Test public void requiredLogEntryValues() { DateToken token = new DateToken(); assertThat(token.getRequiredLogEntryValues()).containsOnly(LogEntryValue.DATE); }
@Override public Collection<LogEntryValue> getRequiredLogEntryValues() { return Collections.singletonList(LogEntryValue.DATE); }
DateToken implements Token { @Override public Collection<LogEntryValue> getRequiredLogEntryValues() { return Collections.singletonList(LogEntryValue.DATE); } }
DateToken implements Token { @Override public Collection<LogEntryValue> getRequiredLogEntryValues() { return Collections.singletonList(LogEntryValue.DATE); } DateToken();   DateToken(final String pattern); }
DateToken implements Token { @Override public Collection<LogEntryValue> getRequiredLogEntryValues() { return Collections.singletonList(LogEntryValue.DATE); } DateToken();   DateToken(final String pattern); @Override Collection<LogEntryValue> getRequiredLogEntryValues(); @Override void render(final LogEntry logEntry, final StringBuilder builder); @Override void apply(final LogEntry logEntry, final PreparedStatement statement, final int index); }
DateToken implements Token { @Override public Collection<LogEntryValue> getRequiredLogEntryValues() { return Collections.singletonList(LogEntryValue.DATE); } DateToken();   DateToken(final String pattern); @Override Collection<LogEntryValue> getRequiredLogEntryValues(); @Override void render(final LogEntry logEntry, final StringBuilder builder); @Override void apply(final LogEntry logEntry, final PreparedStatement statement, final int index);  }