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