@Test public void convertTo() throws Exception { assertEquals("UDP", new GelfTransportsConverter().convertTo(GelfTransports.UDP)); }
@Override public String convertTo(GelfTransports value) { if (value == null) { throw new ParameterException("Couldn't convert \"null\" to string."); } return value.name(); }
GelfTransportsConverter implements Converter<GelfTransports> { @Override public String convertTo(GelfTransports value) { if (value == null) { throw new ParameterException("Couldn't convert \"null\" to string."); } return value.name(); } }
GelfTransportsConverter implements Converter<GelfTransports> { @Override public String convertTo(GelfTransports value) { if (value == null) { throw new ParameterException("Couldn't convert \"null\" to string."); } return value.name(); }  }
GelfTransportsConverter implements Converter<GelfTransports> { @Override public String convertTo(GelfTransports value) { if (value == null) { throw new ParameterException("Couldn't convert \"null\" to string."); } return value.name(); }  @Override GelfTransports convertFrom(String value); @Override String convertTo(GelfTransports value); }
GelfTransportsConverter implements Converter<GelfTransports> { @Override public String convertTo(GelfTransports value) { if (value == null) { throw new ParameterException("Couldn't convert \"null\" to string."); } return value.name(); }  @Override GelfTransports convertFrom(String value); @Override String convertTo(GelfTransports value);  }