@Test public void testInitialisationCriteria() throws Exception { AddTimestampMetadataService service = new AddTimestampMetadataService(); service.setMetadataKey(""); initWithException(service); service.setMetadataKey(null); initWithException(service); service = new AddTimestampMetadataService(); LifecycleHelper.init(service); }
public void setMetadataKey(String metadataKey) { this.metadataKey = metadataKey; }
AddTimestampMetadataService extends ServiceImp { public void setMetadataKey(String metadataKey) { this.metadataKey = metadataKey; } }
AddTimestampMetadataService extends ServiceImp { public void setMetadataKey(String metadataKey) { this.metadataKey = metadataKey; } AddTimestampMetadataService();  AddTimestampMetadataService(String format, String metadataKey);  AddTimestampMetadataService(String format, String metadataKey, Boolean alwaysReplace);  AddTimestampMetadataService(String format, String metadataKey, Boolean alwaysReplace, String offset);  AddTimestampMetadataService(String format, String metadataKey, Boolean alwaysReplace, TimestampGenerator s); }
AddTimestampMetadataService extends ServiceImp { public void setMetadataKey(String metadataKey) { this.metadataKey = metadataKey; } AddTimestampMetadataService();  AddTimestampMetadataService(String format, String metadataKey);  AddTimestampMetadataService(String format, String metadataKey, Boolean alwaysReplace);  AddTimestampMetadataService(String format, String metadataKey, Boolean alwaysReplace, String offset);  AddTimestampMetadataService(String format, String metadataKey, Boolean alwaysReplace, TimestampGenerator s); @Override void doService(AdaptrisMessage msg); String getMetadataKey(); void setMetadataKey(String metadataKey); Boolean getAlwaysReplace(); void setAlwaysReplace(Boolean b); @Override void prepare(); TimestampGenerator getTimestampGenerator(); void setTimestampGenerator(TimestampGenerator s); DateFormatBuilder getDateFormatBuilder(); void setDateFormatBuilder(DateFormatBuilder builder); }
AddTimestampMetadataService extends ServiceImp { public void setMetadataKey(String metadataKey) { this.metadataKey = metadataKey; } AddTimestampMetadataService();  AddTimestampMetadataService(String format, String metadataKey);  AddTimestampMetadataService(String format, String metadataKey, Boolean alwaysReplace);  AddTimestampMetadataService(String format, String metadataKey, Boolean alwaysReplace, String offset);  AddTimestampMetadataService(String format, String metadataKey, Boolean alwaysReplace, TimestampGenerator s); @Override void doService(AdaptrisMessage msg); String getMetadataKey(); void setMetadataKey(String metadataKey); Boolean getAlwaysReplace(); void setAlwaysReplace(Boolean b); @Override void prepare(); TimestampGenerator getTimestampGenerator(); void setTimestampGenerator(TimestampGenerator s); DateFormatBuilder getDateFormatBuilder(); void setDateFormatBuilder(DateFormatBuilder builder);  }