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