@Test public void testSetDestinationTemplate() { FormattedMetadataDestination dest = new FormattedMetadataDestination(); assertEquals("", dest.getDestinationTemplate()); try { dest.setDestinationTemplate(null); fail(); } catch (IllegalArgumentException expected) { } dest.setDestinationTemplate("Hello World"); assertEquals("Hello World", dest.getDestinationTemplate()); }
public void setDestinationTemplate(String s) { destinationTemplate = Args.notNull(s, "destinationTemplate"); }
FormattedMetadataDestination implements MessageDrivenDestination { public void setDestinationTemplate(String s) { destinationTemplate = Args.notNull(s, "destinationTemplate"); } }
FormattedMetadataDestination implements MessageDrivenDestination { public void setDestinationTemplate(String s) { destinationTemplate = Args.notNull(s, "destinationTemplate"); } FormattedMetadataDestination(); }
FormattedMetadataDestination implements MessageDrivenDestination { public void setDestinationTemplate(String s) { destinationTemplate = Args.notNull(s, "destinationTemplate"); } FormattedMetadataDestination(); void addMetadataKey(String s); List<String> getMetadataKeys(); ElementFormatter getElementFormatter(); void setElementFormatter(ElementFormatter elementFormatter); void setMetadataKeys(List<String> l); void addObjectMetadataKey(String s); List<String> getObjectMetadataKeys(); void setObjectMetadataKeys(List<String> l); @Override String getDestination(AdaptrisMessage msg); String getDestinationTemplate(); void setDestinationTemplate(String s); }
FormattedMetadataDestination implements MessageDrivenDestination { public void setDestinationTemplate(String s) { destinationTemplate = Args.notNull(s, "destinationTemplate"); } FormattedMetadataDestination(); void addMetadataKey(String s); List<String> getMetadataKeys(); ElementFormatter getElementFormatter(); void setElementFormatter(ElementFormatter elementFormatter); void setMetadataKeys(List<String> l); void addObjectMetadataKey(String s); List<String> getObjectMetadataKeys(); void setObjectMetadataKeys(List<String> l); @Override String getDestination(AdaptrisMessage msg); String getDestinationTemplate(); void setDestinationTemplate(String s);  }