@Test public void testSetObjectMetadataKeys() { FormattedMetadataDestination dest = new FormattedMetadataDestination(); List<String> keys = new ArrayList<>(); keys.add("key1"); keys.add("key2"); dest.setObjectMetadataKeys(keys); assertTrue(dest.getObjectMetadataKeys().equals(keys)); try { dest.setObjectMetadataKeys(null); fail(); } catch (IllegalArgumentException expected) { } }
public void setObjectMetadataKeys(List<String> l) { objectMetadataKeys = Args.notNull(l, "objectMetadataKeys"); }
FormattedMetadataDestination implements MessageDrivenDestination { public void setObjectMetadataKeys(List<String> l) { objectMetadataKeys = Args.notNull(l, "objectMetadataKeys"); } }
FormattedMetadataDestination implements MessageDrivenDestination { public void setObjectMetadataKeys(List<String> l) { objectMetadataKeys = Args.notNull(l, "objectMetadataKeys"); } FormattedMetadataDestination(); }
FormattedMetadataDestination implements MessageDrivenDestination { public void setObjectMetadataKeys(List<String> l) { objectMetadataKeys = Args.notNull(l, "objectMetadataKeys"); } 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 setObjectMetadataKeys(List<String> l) { objectMetadataKeys = Args.notNull(l, "objectMetadataKeys"); } 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);  }