@Test public void requiredLogEntryValues() { FileNameToken token = new FileNameToken(); assertThat(token.getRequiredLogEntryValues()).containsOnly(LogEntryValue.FILE); }
@Override public Collection<LogEntryValue> getRequiredLogEntryValues() { return Collections.singleton(LogEntryValue.FILE); }
FileNameToken implements Token { @Override public Collection<LogEntryValue> getRequiredLogEntryValues() { return Collections.singleton(LogEntryValue.FILE); } }
FileNameToken implements Token { @Override public Collection<LogEntryValue> getRequiredLogEntryValues() { return Collections.singleton(LogEntryValue.FILE); } FileNameToken(); }
FileNameToken implements Token { @Override public Collection<LogEntryValue> getRequiredLogEntryValues() { return Collections.singleton(LogEntryValue.FILE); } FileNameToken(); @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); }
FileNameToken implements Token { @Override public Collection<LogEntryValue> getRequiredLogEntryValues() { return Collections.singleton(LogEntryValue.FILE); } FileNameToken(); @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);  }